summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http.go6
-rw-r--r--start.go4
2 files changed, 5 insertions, 5 deletions
diff --git a/http.go b/http.go
index 9bc5b51..5a880de 100644
--- a/http.go
+++ b/http.go
@@ -11,7 +11,7 @@ import (
"libvirt.org/go/libvirtxml"
"go.wit.com/lib/gui/shell"
- pb "go.wit.com/lib/protobuf/virtbuf"
+ "go.wit.com/lib/protobuf/virtpb"
"go.wit.com/lib/virtigolib"
"go.wit.com/log"
)
@@ -139,8 +139,8 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
return
}
// fmt.Fprintln(w, "HTTP:", r.Body)
- var d *pb.Droplet
- d = new(pb.Droplet)
+ var d *virtpb.Droplet
+ d = new(virtpb.Droplet)
// msg, err := ioutil.ReadAll(r.Body) // Read the body as []byte
fmt.Fprintln(w, "/start ReadAll() START")
fmt.Fprintln(w, "msg =", string(msg))
diff --git a/start.go b/start.go
index e10f25c..541435a 100644
--- a/start.go
+++ b/start.go
@@ -5,13 +5,13 @@ package main
import (
"errors"
- pb "go.wit.com/lib/protobuf/virtbuf"
+ "go.wit.com/lib/protobuf/virtpb"
"go.wit.com/lib/virtigolib"
"go.wit.com/log"
"libvirt.org/go/libvirtxml"
)
-func newStart(start string, d *pb.Droplet) error {
+func newStart(start string, d *virtpb.Droplet) error {
if d == nil {
log.Info("log.Info: droplet is unknown:", start)
return errors.New("droplet is unknown: " + start)