Skip to content

Commit dce7d08

Browse files
committed
fix(dbtestutil): fix typo in pgDump
1 parent 4ab5276 commit dce7d08

File tree

1 file changed

+1
-1
lines changed
  • coderd/database/dbtestutil

1 file changed

+1
-1
lines changed

coderd/database/dbtestutil/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func pgDump(dbURL string) ([]byte, error) {
186186
cmd := exec.Command(cmdArgs[0], cmdArgs[1:]...) // nolint:gosec
187187
cmd.Env = []string{
188188
// "PGTZ=UTC", // This is probably not going to be useful if tz has been changed.
189-
"PGCLIENTENCODINDG=UTF8",
189+
"PGCLIENTENCODING=UTF8",
190190
"PGDATABASE=", // we should always specify the database name in the connection string
191191
}
192192
var stdout bytes.Buffer

0 commit comments

Comments
 (0)