summaryrefslogtreecommitdiff
path: root/change.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-30 11:06:14 -0500
committerJeff Carr <[email protected]>2024-10-30 11:06:14 -0500
commit9608bb680f4679d16985f34d227f1bcf8a0d6c87 (patch)
treef70c0cd126bab553dcf2d802edf793db2e7354e2 /change.go
parent6a0d4d3e3883de811cf594b0bcddd1f2c9736b43 (diff)
rename and rm old code
Signed-off-by: Jeff Carr <[email protected]>
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 0c4797f..f7e57a3 100644
--- a/change.go
+++ b/change.go
@@ -186,8 +186,8 @@ func (c *Cluster) DropletMoved(d *Droplet, newh *Hypervisor) error {
e.Start = timestamppb.New(now)
c.Events = append(c.Events, e)
-
+
// update the droplet record
- d.CurrentHypervisor = newh.Hostname
+ d.CurrentHypervisor = newh.Hostname
return nil
}