Merge pull request #134 from crgarcia12/crgar/send-telemetry-before-rebooting

print the node id when commanding a reboot
This commit is contained in:
Daniel Holbach
2020-04-20 11:31:55 +02:00
committed by GitHub
+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 {