Skip to content

Commit

Permalink
fix case
Browse files Browse the repository at this point in the history
  • Loading branch information
tjenkinson committed Oct 26, 2019
1 parent 590508a commit cfda5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/sql/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ type dsnConnector struct {
func (t dsnConnector) Connect(_ context.Context) (driver.Conn, error) {
conn, err := t.driver.Open(t.dsn)
if err == driver.ErrBadConn {
return conn, fmt.Errorf("sql: driver open() returned ErrBadConn. ErrBadConn should only be returned from existing connections")
return conn, fmt.Errorf("sql: driver Open() returned ErrBadConn. ErrBadConn should only be returned from existing connections")
}
return conn, err
}
Expand Down

0 comments on commit cfda5c7

Please sign in to comment.