diff options
| author | Jeff Carr <[email protected]> | 2024-10-31 13:37:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-31 13:37:00 -0500 |
| commit | 3c520003edb286deec57ce62c447373912787829 (patch) | |
| tree | 29b819f09a0147f39eba997dab0979698cf68635 /create.go | |
| parent | 913b18737b9cb25636eea44355ddc680ff1c45c0 (diff) | |
compiles again
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'create.go')
| -rw-r--r-- | create.go | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -71,7 +71,7 @@ func create(w http.ResponseWriter, r *http.Request) (string, error) { d.Networks = append(d.Networks, newNet) // d.AddDefaultNetwork(mac) } - me.cluster.Droplets = append(me.cluster.Droplets, d) + me.cluster.AddDroplet(d) result, err := startDroplet(d) if err != nil { @@ -158,11 +158,6 @@ func startDroplet(d *pb.Droplet) (string, error) { result += fmt.Sprintln("pool has", len(pool), "members", "rand =", n) h := pool[n] - // update/resend the search directories to the hypervisor - result += fmt.Sprintln("h.sendDirs() HERE") - result += fmt.Sprintln("h.sendDirs() HERE") - h.sendDirs() - ok, output := h.start(d) if ok { return result + output, nil |
