diff options
| -rw-r--r-- | http.go | 6 | ||||
| -rw-r--r-- | start.go | 4 | 
2 files changed, 5 insertions, 5 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)) @@ -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)  | 
