From d7d999b1bb1f775e5d9b43aaee595c351641b7da Mon Sep 17 00:00:00 2001 From: vdaas-ci Date: Tue, 8 Sep 2020 05:51:45 +0000 Subject: [PATCH] :robot: Update license headers / Format go codes and yaml files Signed-off-by: vdaas-ci --- internal/db/rdb/mysql/mysql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/rdb/mysql/mysql.go b/internal/db/rdb/mysql/mysql.go index 5b107c54ab..ea1c92579e 100644 --- a/internal/db/rdb/mysql/mysql.go +++ b/internal/db/rdb/mysql/mysql.go @@ -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