🐛 服务请求结果接收

This commit is contained in:
naiba
2021-09-27 23:07:05 +08:00
parent 800ddb9ace
commit 1f1e0b6db7
3 changed files with 3 additions and 3 deletions

View File

@@ -76,5 +76,5 @@ func (m *Monitor) AfterFind(tx *gorm.DB) error {
}
func IsServiceSentinelNeeded(t uint64) bool {
return t == TaskTypeCommand || t == TaskTypeTerminal || t == TaskTypeUpgrade
return t != TaskTypeCommand && t != TaskTypeTerminal && t != TaskTypeUpgrade
}