summaryrefslogtreecommitdiff
path: root/change.go
diff options
context:
space:
mode:
Diffstat (limited to 'change.go')
-rw-r--r--change.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/change.go b/change.go
index f7e57a3..3a788af 100644
--- a/change.go
+++ b/change.go
@@ -153,7 +153,7 @@ func (c *Cluster) ChangeDropletState(d *Droplet, newState DropletState) error {
now := time.Now()
e.Start = timestamppb.New(now)
- c.Events = append(c.Events, e)
+ c.E.Events = append(c.E.Events, e)
return nil
}
@@ -185,7 +185,7 @@ func (c *Cluster) DropletMoved(d *Droplet, newh *Hypervisor) error {
now := time.Now()
e.Start = timestamppb.New(now)
- c.Events = append(c.Events, e)
+ c.E.Events = append(c.E.Events, e)
// update the droplet record
d.CurrentHypervisor = newh.Hostname