diff options
| author | Jeff Carr <[email protected]> | 2025-03-24 21:54:13 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-24 21:54:13 -0500 |
| commit | e4345c8ad6584f4fc5393c7844bb1967d6564d63 (patch) | |
| tree | b145c2e11edd3650ea0a3ea1954838ae00b8b818 /helpers.go | |
| parent | 276c5cec2f28ef265a615d31cf27d25e72b29cf8 (diff) | |
moving to a cluster.proto config filev0.2.33
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() } |
