From c6cdaccc4212b91a2d39636358764d8c413a84d3 Mon Sep 17 00:00:00 2001 From: JustSong Date: Sat, 21 Sep 2024 22:30:12 +0800 Subject: [PATCH] chore: add missing space --- monitor/manage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {