summaryrefslogtreecommitdiff
path: root/event.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 17:48:10 -0600
committerJeff Carr <[email protected]>2025-02-22 17:48:10 -0600
commit498bfe82f073d5641a42b057512396cc967524c1 (patch)
treee1509616a6e29d496f044a30e7e7039c19e38e5d /event.go
parent6ee6fd8a961057494f82194bd90eeb5ceca4980d (diff)
Diffstat (limited to 'event.go')
-rw-r--r--event.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/event.go b/event.go
index 9551aab..334d7c9 100644
--- a/event.go
+++ b/event.go
@@ -5,7 +5,7 @@ import (
"time"
"go.wit.com/lib/gui/shell"
- pb "go.wit.com/lib/protobuf/virtbuf"
+ "go.wit.com/lib/protobuf/virtpb"
"go.wit.com/log"
)
@@ -56,7 +56,7 @@ func dropletReady(d *pb.Droplet) (bool, string) {
// this must be bool in string because accumulated output is sometimes
// written to STDOUT, sometimes to http
-func (h *HyperT) start(d *pb.Droplet) (bool, string) {
+func (h *HyperT) start(d *virtpb.Droplet) (bool, string) {
url := "http://" + h.pb.Hostname + ":2520/start?start=" + d.Hostname
var msg string
var data []byte
@@ -75,7 +75,7 @@ func (h *HyperT) start(d *pb.Droplet) (bool, string) {
return true, result
}
-func findDroplet(name string) *pb.Droplet {
+func findDroplet(name string) *virtpb.Droplet {
loop := me.cluster.DropletsAll() // get the list of droplets
for loop.Scan() {
d := loop.Next()