summaryrefslogtreecommitdiff
path: root/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.go')
-rw-r--r--helpers.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers.go b/helpers.go
index 5e716dc..ca1c92b 100644
--- a/helpers.go
+++ b/helpers.go
@@ -3,15 +3,15 @@ package virtpb
// functions to import and export the protobuf
// data to and from config files
-func InitCluster() *Cluster {
- var c *Cluster
- c = new(Cluster)
+func InitCluster() *OldCluster {
+ var c *OldCluster
+ c = new(OldCluster)
c.d = new(Droplets)
c.H = new(Hypervisors)
c.e = new(Events)
return c
}
-func (c *Cluster) DropletsAll() *DropletIterator {
+func (c *OldCluster) DropletsAll() *DropletIterator {
return c.d.All()
}