Skip to content

Commit

Permalink
🤖 Update license headers / Format go codes and yaml files
Browse files Browse the repository at this point in the history
Signed-off-by: vdaas-ci <[email protected]>
  • Loading branch information
vdaas-ci committed Sep 8, 2020
1 parent d0644d5 commit d7d999b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/rdb/mysql/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (m *mySQLClient) Ping(ctx context.Context) (err error) {
err = errors.ErrMySQLConnectionPingFailed
}
cerr := ctx.Err()
if cerr != nil{
if cerr != nil {
err = errors.Wrap(err, cerr.Error())
}
return err
Expand Down

0 comments on commit d7d999b

Please sign in to comment.