diff options
| -rw-r--r-- | add.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -101,6 +101,7 @@ func (c *NewCluster) AddDropletSimple(uuid string, hostname string, cpus int, me d.Cpus = 1 } d.Memory = SetGB(mem * 32) + d.StartState = DropletState_OFF c.AddDroplet(d) return d } @@ -113,6 +114,7 @@ func (c *NewCluster) AddDropletLocal(name string, hypername string) *Droplet { d.LocalOnly = hypername d.Current = new(Current) d.Current.Hypervisor = hypername + d.StartState = DropletState_OFF d.Current.State = DropletState_OFF c.AddDroplet(d) |
