chore: fix some comments (#345)

This commit is contained in:
lvyaoting 2024-04-08 22:30:39 +08:00 committed by GitHub
parent d9a7002906
commit d38f611d66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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