summaryrefslogtreecommitdiff
path: root/importDomain.go
diff options
context:
space:
mode:
Diffstat (limited to 'importDomain.go')
-rw-r--r--importDomain.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/importDomain.go b/importDomain.go
index c7f7f45..b629bce 100644
--- a/importDomain.go
+++ b/importDomain.go
@@ -7,7 +7,7 @@ import (
"os"
"time"
- pb "go.wit.com/lib/protobuf/virtbuf"
+ "go.wit.com/lib/protobuf/virtpb"
"go.wit.com/lib/virtigolib"
"go.wit.com/log"
@@ -123,7 +123,7 @@ func importDomain(w http.ResponseWriter, r *http.Request) (string, error) {
// this must be bool in string because accumulated output is sometimes
// written to STDOUT, sometimes to http
-func (h *HyperT) importDomain(d *pb.Droplet) (bool, string) {
+func (h *HyperT) importDomain(d *virtpb.Droplet) (bool, string) {
ready, result := me.cluster.DropletReady(d)
if !ready {
return false, result
@@ -153,7 +153,7 @@ func (h *HyperT) importDomain(d *pb.Droplet) (bool, string) {
return true, result
}
-func ExportLibvirtDomain(h *pb.Hypervisor, domainName string) (*libvirtxml.Domain, error) {
+func ExportLibvirtDomain(h *virtpb.Hypervisor, domainName string) (*libvirtxml.Domain, error) {
// attempt to get the domain record from virtigo
xml, err := postImportDomain(h.Hostname, domainName)
if err != nil {