Skip to content

Commit

Permalink
Update manage.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ye4293 authored Aug 31, 2024
1 parent 82f34d3 commit 635a26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor/manage.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func ShouldDisableChannel(err *model.Error, statusCode int) bool {
if err == nil {
return false
}
if statusCode == http.StatusUnauthorized || statusCode == http.StatusTooManyRequests {
if statusCode == http.StatusUnauthorized{
return true
}
switch err.Type {
Expand Down

0 comments on commit 635a26f

Please sign in to comment.