summaryrefslogtreecommitdiff
path: root/helpers.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-27 05:43:30 -0500
committerJeff Carr <[email protected]>2024-10-27 05:43:30 -0500
commitdc2dba26556d507bc929056755395cc51fcc7d9e (patch)
tree30a97bdfd7b6289e17604b0b2c82555fb64cc325 /helpers.go
parent8e33396b4afd104bc1af5265d4ab306f273af554 (diff)
droplet.ForceHypervisor for binding it there
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'helpers.go')
-rw-r--r--helpers.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/helpers.go b/helpers.go
index 25486f1..96df708 100644
--- a/helpers.go
+++ b/helpers.go
@@ -124,3 +124,7 @@ func (c *Cluster) BlankFields() {
d.CurrentState = 0
}
}
+
+func (c *Cluster) AppendEvent(e *Event) {
+ c.Events = append(c.Events, e)
+}