diff --git a/monitor/manage.go b/monitor/manage.go index e92912a1..24477585 100644 --- a/monitor/manage.go +++ b/monitor/manage.go @@ -15,7 +15,7 @@ func ShouldDisableChannel(err *model.Error, statusCode int) bool { if err == nil { return false } - if statusCode == http.StatusUnauthorized{ + if statusCode == http.StatusUnauthorized { return true } switch err.Type {