summaryrefslogtreecommitdiff
path: root/add.go
diff options
context:
space:
mode:
Diffstat (limited to 'add.go')
-rw-r--r--add.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/add.go b/add.go
index 96df708..25b6248 100644
--- a/add.go
+++ b/add.go
@@ -125,6 +125,6 @@ func (c *Cluster) BlankFields() {
}
}
-func (c *Cluster) AppendEvent(e *Event) {
- c.Events = append(c.Events, e)
+func (epb *Events) AppendEvent(e *Event) {
+ epb.Events = append(epb.Events, e)
}