Skip to content

Commit 7f79f1b

Browse files
skewb1karp242
authored andcommitted
Fix trailing quote in fromDSN() error message
1 parent e0a292e commit 7f79f1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

connector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ func (cfg *Config) fromDSN(dsn string) error {
746746

747747
// The current character should be =
748748
if r != '=' || !ok {
749-
return fmt.Errorf(`missing "=" after %q in connection info string"`, string(keyRunes))
749+
return fmt.Errorf(`missing "=" after %q in connection info string`, string(keyRunes))
750750
}
751751

752752
// Skip any whitespace after the =

0 commit comments

Comments
 (0)