Skip to content

Commit 2405bbe

Browse files
authored
fix(coderd/database/dbtestutil): fix typo in pgDump (#10033)
1 parent c7218b4 commit 2405bbe

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)