From 1f1e0b6db7bdd09c228b11bc149e6da595c11151 Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 27 Sep 2021 23:07:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E6=9C=8D=E5=8A=A1=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E7=BB=93=E6=9E=9C=E6=8E=A5=E6=94=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- model/monitor.go | 2 +- service/dao/dao.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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