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