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 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")
}