diff options
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)) |
