fix: log message for unconfigured Kuma push monitor
This commit is contained in:
2
bot.go
2
bot.go
@@ -66,6 +66,8 @@ func main() {
|
|||||||
}
|
}
|
||||||
go startKumaPush(kumaPushURL, interval)
|
go startKumaPush(kumaPushURL, interval)
|
||||||
log.Printf("Kuma push monitor started (URL: %s, Interval: %ds)", kumaPushURL, interval)
|
log.Printf("Kuma push monitor started (URL: %s, Interval: %ds)", kumaPushURL, interval)
|
||||||
|
} else {
|
||||||
|
log.Println("Kuma push monitor not configured.")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wait here until CTRL-C or other term signal is received.
|
// Wait here until CTRL-C or other term signal is received.
|
||||||
|
|||||||
Reference in New Issue
Block a user