diff --git a/README.md b/README.md index 8f4991af7e..246a83b06b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
LOGO designed by 熊大 .

-    +   

:trollface: 哪吒监控 一站式轻监控轻运维系统。支持系统状态、HTTP(SSL 证书变更、即将到期、到期)、TCP、Ping 监控报警,命令批量执行和计划任务。

diff --git a/model/monitor.go b/model/monitor.go index 705c02af5e..daf26c37c8 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 || t == TaskTypeUpgrade + return t != TaskTypeCommand && t != TaskTypeTerminal && t != TaskTypeUpgrade } diff --git a/service/dao/dao.go b/service/dao/dao.go index dfcd791b8e..e5fec17d62 100644 --- a/service/dao/dao.go +++ b/service/dao/dao.go @@ -13,7 +13,7 @@ import ( pb "github.com/naiba/nezha/proto" ) -var Version = "v0.10.0" // !!记得修改 README 中的 badge 版本!! +var Version = "v0.10.1" // !!记得修改 README 中的 badge 版本!! var ( Conf *model.Config