fix(lint): warning from golangci-lint tool

https://github.com/appleboy/gorush/issues/704

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi.Wu
2022-12-20 22:03:29 +08:00
parent 89bc97d15e
commit 4ef30a0cdc
16 changed files with 145 additions and 122 deletions

View File

@@ -43,6 +43,7 @@ func (c *healthClient) Check(ctx context.Context) (bool, error) {
}
return false, nil
}
//nolint:exhaustive
switch status.Code(err) {
case
codes.Aborted,