From 2405bbe1b9476d7254468e1ece50046899bab254 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Wed, 4 Oct 2023 13:21:45 +0100 Subject: [PATCH] fix(coderd/database/dbtestutil): fix typo in pgDump (#10033) --- coderd/database/dbtestutil/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coderd/database/dbtestutil/db.go b/coderd/database/dbtestutil/db.go index c6ebbcee35..a32d7b3124 100644 --- a/coderd/database/dbtestutil/db.go +++ b/coderd/database/dbtestutil/db.go @@ -186,7 +186,7 @@ func pgDump(dbURL string) ([]byte, error) { cmd := exec.Command(cmdArgs[0], cmdArgs[1:]...) // nolint:gosec cmd.Env = []string{ // "PGTZ=UTC", // This is probably not going to be useful if tz has been changed. - "PGCLIENTENCODINDG=UTF8", + "PGCLIENTENCODING=UTF8", "PGDATABASE=", // we should always specify the database name in the connection string } var stdout bytes.Buffer