summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-31 06:41:30 -0500
committerJeff Carr <[email protected]>2024-10-31 06:41:30 -0500
commite6ea90f8defd8f26702ed808bcf801f53ce3a327 (patch)
tree290626b309372941c6aa92c9536d048ffa6ec326 /main.go
parent22111183a5a6f9c87062d503c8a71a6a6955bed5 (diff)
compiles after lots of protobuf changes
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index fef5833..33b5e9b 100644
--- a/main.go
+++ b/main.go
@@ -60,11 +60,11 @@ func main() {
}
for i, d := range me.cluster.Droplets {
- d.CurrentState = pb.DropletState_OFF
+ d.Current.State = pb.DropletState_OFF
log.Info(i, "droplet", d.Hostname)
}
hmm := "pihole.wit.com"
- d := findDroplet(hmm)
+ d := me.cluster.FindDropletByName(hmm)
if d == nil {
log.Info("did not find found droplet", hmm)
} else {