summaryrefslogtreecommitdiff
path: root/cluster.go
diff options
context:
space:
mode:
Diffstat (limited to 'cluster.go')
-rw-r--r--cluster.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cluster.go b/cluster.go
index a2c2391..da2fe58 100644
--- a/cluster.go
+++ b/cluster.go
@@ -18,6 +18,10 @@ type Cluster struct {
UnstableTimeout *durationpb.Duration
}
+func (c *Cluster) GetDropletsPB() *Droplets {
+ return c.d
+}
+
// adds a new droplet. enforce unique hostnames
func (c *Cluster) AddDroplet(newd *Droplet) bool {
c.Lock()