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 }