From d38f611d668aa110eab894ae8b0dc176fca71442 Mon Sep 17 00:00:00 2001 From: lvyaoting <166296299+lvyaoting@users.noreply.github.com> Date: Mon, 8 Apr 2024 22:30:39 +0800 Subject: [PATCH] chore: fix some comments (#345) --- resource/static/theme-server-status/js/html5shiv.js | 2 +- service/singleton/servicesentinel.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/static/theme-server-status/js/html5shiv.js b/resource/static/theme-server-status/js/html5shiv.js index 45ea723dd5..d064fe9714 100644 --- a/resource/static/theme-server-status/js/html5shiv.js +++ b/resource/static/theme-server-status/js/html5shiv.js @@ -21,7 +21,7 @@ /** Name of the expando, to work with multiple documents or to re-shiv one document */ var expando = '_html5shiv'; - /** The id for the the documents expando */ + /** The id for the documents expando */ var expanID = 0; /** Cached data for each document */ diff --git a/service/singleton/servicesentinel.go b/service/singleton/servicesentinel.go index 4ef7aaca7d..41f50882ef 100644 --- a/service/singleton/servicesentinel.go +++ b/service/singleton/servicesentinel.go @@ -172,7 +172,7 @@ func (ss *ServiceSentinel) Monitors() []*model.Monitor { return monitors } -// LoadStats 加载服务监控器的历史状态信息 +// loadMonitorHistory 加载服务监控器的历史状态信息 func (ss *ServiceSentinel) loadMonitorHistory() { var monitors []*model.Monitor err := DB.Find(&monitors).Error