summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-26 12:32:17 -0500
committerJeff Carr <[email protected]>2024-10-26 12:32:17 -0500
commit2e8281d0678d5f201e18aec33aa4e39fa3587230 (patch)
tree0ff7b0beb05729050996808ebe741bcc70004f70 /main.go
parent6d5c5c607294c39f7af1427e832904f6dc070b75 (diff)
virtigod doing xml now
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go17
1 files changed, 16 insertions, 1 deletions
diff --git a/main.go b/main.go
index b0eb414..bc11bdf 100644
--- a/main.go
+++ b/main.go
@@ -64,6 +64,18 @@ func main() {
}
*/
+ for i, d := range me.cluster.Droplets {
+ d.CurrentState = pb.DropletState_UNKNOWN
+ log.Info(i, "droplet", d.Hostname)
+ }
+ hmm := "pihole.wit.com"
+ d := findDroplet(hmm)
+ if d == nil {
+ log.Info("did not find found droplet", hmm)
+ } else {
+ log.Info("found droplet", d.Hostname, d)
+ }
+
var newEvents []*pb.Event
// sanity check the droplets
@@ -126,7 +138,10 @@ func main() {
}
if argv.Start != "" {
- newStart(argv.Start)
+ b, result := Start(argv.Start)
+ log.Warn("Start returned =", b, "result =", result)
+ log.Println("Start() returned", b)
+ log.Println("result:", result)
os.Exit(0)
}
// initialize each hypervisor