summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-23 19:15:51 -0500
committerJeff Carr <[email protected]>2024-10-23 19:15:51 -0500
commitd09f4e25c25dced54d688597b5e9a903c456573d (patch)
tree92fe88c807cbb41ef3f60047cd57a493d072db88 /structs.go
parent3ce3a0d7f640a71873eea29c70234ec9f4257b03 (diff)
switched to pb.DropletState enum
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 50f2af1..190cd67 100644
--- a/structs.go
+++ b/structs.go
@@ -44,7 +44,7 @@ type DropletT struct {
pb *pb.Droplet // the Droplet protobuf
xml *libvirtxml.Domain // a xml representation from libvirt
h *HyperT // the hypervisor it's currently running on
- CurrentState string // what the state of the droplet is ACTUALLY IS
+ CurrentState pb.DropletState // what the state of the droplet is ACTUALLY IS
lastpoll time.Time // the last time the droplet was seen running
starts int // how many times a start event has been attempted
}