diff options
| author | Jeff Carr <[email protected]> | 2024-10-30 18:10:40 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-30 18:10:40 -0500 |
| commit | 18053caca8605895c0e6e2f8555c1ffa642a076a (patch) | |
| tree | e8ae67fce227621973c5137b6b59cbdd21589def /change.go | |
| parent | 9608bb680f4679d16985f34d227f1bcf8a0d6c87 (diff) | |
events are in cluster.E
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'change.go')
| -rw-r--r-- | change.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
