Skip to content

Commit cfda5c7

Browse files
committed
fix case
1 parent 590508a commit cfda5c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/database/sql/sql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ type dsnConnector struct {
687687
func (t dsnConnector) Connect(_ context.Context) (driver.Conn, error) {
688688
conn, err := t.driver.Open(t.dsn)
689689
if err == driver.ErrBadConn {
690-
return conn, fmt.Errorf("sql: driver open() returned ErrBadConn. ErrBadConn should only be returned from existing connections")
690+
return conn, fmt.Errorf("sql: driver Open() returned ErrBadConn. ErrBadConn should only be returned from existing connections")
691691
}
692692
return conn, err
693693
}

0 commit comments

Comments
 (0)