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