summaryrefslogtreecommitdiff
path: root/send.go
diff options
context:
space:
mode:
Diffstat (limited to 'send.go')
-rw-r--r--send.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/send.go b/send.go
index d9534ac..c1d414a 100644
--- a/send.go
+++ b/send.go
@@ -9,7 +9,7 @@ import (
"go.wit.com/log"
)
-var urlbase string = "http://zookeeper.wit.com:8080"
+var urlbase string = "http://zookeeper.grid.wit.com:8080"
func send() {
}
@@ -62,10 +62,12 @@ func sendMachine() error {
for _, line := range strings.Split(test, "\n") {
switch line {
case "upgrade":
+ log.Info("zookeeper is healthy")
+ case "apt update":
log.Info("machine upgrade now")
shell.Run([]string{"apt", "update"})
default:
- log.Info("GOT:", line)
+ log.Info("zookeeper is maybe not working GOT:", line)
}
}
return nil