From 800ddb9acedf25070819bd8b5068b4b69caa7ed4 Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 27 Sep 2021 21:30:43 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20=E5=BF=BD=E7=95=A5?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E4=BB=BB=E5=8A=A1=E4=B8=8A=E6=8A=A5=20[skip?= =?UTF-8?q?=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/monitor.go b/model/monitor.go index aa64c62..705c02a 100644 --- a/model/monitor.go +++ b/model/monitor.go @@ -76,5 +76,5 @@ func (m *Monitor) AfterFind(tx *gorm.DB) error { } func IsServiceSentinelNeeded(t uint64) bool { - return t == TaskTypeCommand || t == TaskTypeTerminal + return t == TaskTypeCommand || t == TaskTypeTerminal || t == TaskTypeUpgrade }