summaryrefslogtreecommitdiff
path: root/change.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 05:04:11 -0600
committerJeff Carr <[email protected]>2024-11-07 05:04:11 -0600
commit907981a92da0537617a4c9fe39093f23004f461c (patch)
tree5df2fcac84995b0027dceef658d652a3d74861d9 /change.go
parentb9766ce266286171f4688a32c679816bf824ae28 (diff)
rename Clusterv0.2.5
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 04c5b20..bf0cfce 100644
--- a/change.go
+++ b/change.go
@@ -165,7 +165,7 @@ func (d *Droplet) SetState(newState DropletState) {
}
// records an event that the droplet changed state (aka turned on, turned off, etc)
-func (c *NewCluster) ChangeDropletState(d *Droplet, newState DropletState) error {
+func (c *Cluster) ChangeDropletState(d *Droplet, newState DropletState) error {
if c == nil {
return errors.New("cluster is nil")
}
@@ -192,7 +192,7 @@ func (c *NewCluster) ChangeDropletState(d *Droplet, newState DropletState) error
}
// records an event that the droplet migrated to another hypervisor
-func (c *NewCluster) DropletMoved(d *Droplet, newh *Hypervisor) error {
+func (c *Cluster) DropletMoved(d *Droplet, newh *Hypervisor) error {
if c == nil {
return errors.New("cluster is nil")
}