summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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"