From 6173c181bc9b96a49a72546db159877b7e6e334d 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 9131b68..53c8d35 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) }