diff options
Diffstat (limited to 'helpers.go')
| -rw-r--r-- | helpers.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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() } |
