Skip to content

Commit

Permalink
Fix typos in MySQL scaler (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
turbaszek authored Mar 16, 2020
1 parent e8d760c commit c673628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scalers/mysql_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func NewMySQLScaler(resolvedEnv, metadata, authParams map[string]string) (Scaler

conn, err := newMySQLConnection(meta)
if err != nil {
return nil, fmt.Errorf("error establishing MySQL connectionString: %s", err)
return nil, fmt.Errorf("error establishing MySQL connection: %s", err)
}
return &mySQLScaler{
metadata: meta,
Expand Down Expand Up @@ -145,7 +145,7 @@ func newMySQLConnection(meta *mySQLMetadata) (*sql.DB, error) {
}
err = db.Ping()
if err != nil {
mySQLLog.Error(err, fmt.Sprintf("Found error when pinging databse: %s", err))
mySQLLog.Error(err, fmt.Sprintf("Found error when pinging database: %s", err))
return nil, err
}
return db, nil
Expand Down

0 comments on commit c673628

Please sign in to comment.