summaryrefslogtreecommitdiff
path: root/helpers.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-24 21:54:13 -0500
committerJeff Carr <[email protected]>2025-03-24 21:54:13 -0500
commite4345c8ad6584f4fc5393c7844bb1967d6564d63 (patch)
treeb145c2e11edd3650ea0a3ea1954838ae00b8b818 /helpers.go
parent276c5cec2f28ef265a615d31cf27d25e72b29cf8 (diff)
moving to a cluster.proto config filev0.2.33
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()
}