summaryrefslogtreecommitdiff
path: root/helpers.go
diff options
context:
space:
mode:
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)
+}