Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghaoz committed Jun 5, 2023
1 parent 6afa2b8 commit c4e408d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion storage/cache/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ func (db *SQLDatabase) Init() error {
if err != nil {
if mysqlErr, ok := err.(*mysql.MySQLError); ok && mysqlErr.Number == 1061 {
// ignore duplicate index error
err = nil
} else {
return errors.Trace(err)
}
Expand Down

0 comments on commit c4e408d

Please sign in to comment.