diff options
| author | Jeff Carr <[email protected]> | 2024-11-17 04:16:45 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-17 04:16:45 -0600 |
| commit | 4d5c10676b091183a29dd3acd8d3782646fffcf6 (patch) | |
| tree | 261c694bf8983df1846d6b05febba7454e5c83d3 /send.go | |
| parent | 3f10b49f048b773cd3c43b7ea035623979166e5c (diff) | |
formally grid.wit.com. like black tie formalv0.0.4
Diffstat (limited to 'send.go')
| -rw-r--r-- | send.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |
