summaryrefslogtreecommitdiff
path: root/change.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-24 21:54:13 -0500
committerJeff Carr <[email protected]>2025-03-24 21:54:13 -0500
commite4345c8ad6584f4fc5393c7844bb1967d6564d63 (patch)
treeb145c2e11edd3650ea0a3ea1954838ae00b8b818 /change.go
parent276c5cec2f28ef265a615d31cf27d25e72b29cf8 (diff)
moving to a cluster.proto config filev0.2.33
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 726c4fd..133f173 100644
--- a/change.go
+++ b/change.go
@@ -163,7 +163,7 @@ func (d *Droplet) SetState(newState DropletState) {
}
// records an event that the droplet changed state (aka turned on, turned off, etc)
-func (c *Cluster) ChangeDropletState(d *Droplet, newState DropletState) error {
+func (c *OldCluster) ChangeDropletState(d *Droplet, newState DropletState) error {
if c == nil {
return errors.New("cluster is nil")
}
@@ -190,7 +190,7 @@ func (c *Cluster) ChangeDropletState(d *Droplet, newState DropletState) error {
}
// records an event that the droplet migrated to another hypervisor
-func (c *Cluster) DropletMoved(d *Droplet, newh *Hypervisor) error {
+func (c *OldCluster) DropletMoved(d *Droplet, newh *Hypervisor) error {
if c == nil {
return errors.New("cluster is nil")
}