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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user