Skip to content

Commit

Permalink
style: correct the typo(Prepare)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenwenjun01 committed Oct 27, 2021
1 parent 0671087 commit 6fe941a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/db/v1beta1/mysql/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (d *dbConn) RegisterObservationLog(trialName string, observationLog *v1beta
// Prepare the statement
stmt, err := d.db.Prepare(sqlQuery)
if err != nil {
return fmt.Errorf("Pepare SQL statement failed: %v", err)
return fmt.Errorf("Prepare SQL statement failed: %v", err)
}

// Close the statement
Expand Down

0 comments on commit 6fe941a

Please sign in to comment.