chore: fix some comments (#2918)

This commit is contained in:
momantech
2024-05-08 14:47:23 +08:00
committed by GitHub
parent 1b86e80299
commit 7e2b5b196a
8 changed files with 12 additions and 12 deletions

View File

@@ -49,7 +49,7 @@ func CheckZombies(newnode *models.Node) {
func checkForZombieHosts(h *models.Host) {
hosts, err := GetAllHosts()
if err != nil {
logger.Log(3, "errror retrieving all hosts", err.Error())
logger.Log(3, "error retrieving all hosts", err.Error())
}
for _, existing := range hosts {
if existing.ID == h.ID {