From 144bef4fe3b4ed0bf0270566a50fc0fb5d2a1427 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sat, 2 Apr 2022 15:34:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E5=A4=84=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=BA=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/caches/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/caches/manager.go b/internal/caches/manager.go index d2d9a3a..536eadb 100644 --- a/internal/caches/manager.go +++ b/internal/caches/manager.go @@ -61,7 +61,7 @@ func (this *Manager) UpdatePolicies(newPolicies []*serverconfigs.HTTPCachePolicy // 停止旧有的 for _, oldPolicy := range this.policyMap { if !lists.ContainsInt64(newPolicyIds, oldPolicy.Id) { - remotelogs.Error("CACHE", "remove policy "+strconv.FormatInt(oldPolicy.Id, 10)) + remotelogs.Println("CACHE", "remove policy "+strconv.FormatInt(oldPolicy.Id, 10)) delete(this.policyMap, oldPolicy.Id) storage, ok := this.storageMap[oldPolicy.Id] if ok {