diff options
| author | Jeff Carr <[email protected]> | 2024-10-31 06:41:30 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-31 06:41:30 -0500 |
| commit | e6ea90f8defd8f26702ed808bcf801f53ce3a327 (patch) | |
| tree | 290626b309372941c6aa92c9536d048ffa6ec326 /start.go | |
| parent | 22111183a5a6f9c87062d503c8a71a6a6955bed5 (diff) | |
compiles after lots of protobuf changes
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'start.go')
| -rw-r--r-- | start.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ func Start(name string) (string, error) { } // lookup the droplet by name - d := findDroplet(name) + d := me.cluster.FindDropletByName(name) if d == nil { result = "can't start unknown droplet: " + name return result, errors.New(result) @@ -51,7 +51,7 @@ func Start(name string) (string, error) { } // is the droplet already on? - if d.CurrentState == pb.DropletState_ON { + if d.Current.State == pb.DropletState_ON { result = "EVENT start droplet " + d.Hostname + " is already ON" return result, errors.New(result) } |
