pring node id when commanding reboot, so that any monitoring tool can catch it and act on it

This commit is contained in:
Carlos Garcia Lalicata
2020-04-20 10:58:35 +02:00
parent a2c5eb7b57
commit 800e9e19fb
+1 -1
View File
@@ -253,7 +253,7 @@ func uncordon(nodeID string) {
}
func commandReboot(nodeID string) {
log.Infof("Commanding reboot")
log.Infof("Commanding reboot for node: %s", nodeID)
if slackHookURL != "" {
if err := slack.NotifyReboot(slackHookURL, slackUsername, slackChannel, nodeID); err != nil {