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 1985040..4c921a9 100644
--- a/cluster.go
+++ b/cluster.go
@@ -22,6 +22,10 @@ func (c *Cluster) GetDropletsPB() *Droplets {
return c.d
}
+func (c *Cluster) GetEventsPB() *Events {
+ return c.e
+}
+
// adds a new droplet. enforce unique hostnames
func (c *Cluster) AddDroplet(newd *Droplet) bool {
c.Lock()