From 8aa9e5e7b5a121e66c3c847bc36d66b8497c4d33 Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 19 Jul 2021 20:32:07 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/dao/servicesentinel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/dao/servicesentinel.go b/service/dao/servicesentinel.go index 9131b68e..53c8d35c 100644 --- a/service/dao/servicesentinel.go +++ b/service/dao/servicesentinel.go @@ -190,7 +190,7 @@ func (ss *ServiceSentinel) OnMonitorDelete(id uint64) { defer ss.monitorsLock.Unlock() delete(ss.monitors, id) ss.monthlyStatusLock.Lock() - defer ss.monitorsLock.Unlock() + defer ss.monthlyStatusLock.Unlock() delete(ss.monthlyStatus, id) }