summaryrefslogtreecommitdiff
path: root/start.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-26 19:34:32 -0500
committerJeff Carr <[email protected]>2024-10-26 19:34:32 -0500
commit970e6c24dc98d81e1726db3afe1dca8a67ad4832 (patch)
tree0312e1b4b2532c5f5600fbdba3e8f5464da9092e /start.go
parent07ef0b9f5bad28d5e280f7cfb55feafd36b35e80 (diff)
compiles
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'start.go')
-rw-r--r--start.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/start.go b/start.go
index ada3824..7c28f76 100644
--- a/start.go
+++ b/start.go
@@ -5,13 +5,14 @@ package main
import (
"errors"
+ pb "go.wit.com/lib/protobuf/virtbuf"
"go.wit.com/lib/virtigoxml"
"go.wit.com/log"
"libvirt.org/go/libvirtxml"
)
-func newStart(start string) error {
- d := me.cluster.FindDroplet(start)
+func newStart(start string, d *pb.Droplet) error {
+ // d := me.cluster.FindDroplet(start)
if d == nil {
log.Info("droplet is unknown:", start)
return errors.New("droplet is unknown: " + start)