summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-01 00:41:00 -0500
committerJeff Carr <[email protected]>2024-11-01 00:41:00 -0500
commitc1d86fc324671995ee6dc279c7568bceda1cc910 (patch)
treeb7ba69757e251da753780cf6a8a8b1e8e60a2d75 /main.go
parent26cd0f7709ba552b98aeee83723612eb5e7009cb (diff)
common d.SprintHeader() functions for humans
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 98af0d0..ce859d2 100644
--- a/main.go
+++ b/main.go
@@ -70,7 +70,7 @@ func main() {
if d.Current == nil {
d.Current = new(pb.Current)
}
- d.Current.State = pb.DropletState_OFF
+ d.SetState(pb.DropletState_OFF)
log.Info("droplet", d.Hostname)
}
hmm := "pihole.wit.com"