diff options
| author | Jeff Carr <[email protected]> | 2025-02-22 17:45:50 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-22 17:45:50 -0600 |
| commit | 32e27530075a09f5c3b82ca6cbb83a01e34cb24c (patch) | |
| tree | bf1ad3f04ef77b2425385a4261e36d95909b6988 /importDomain.go | |
| parent | 9f9a52312e6e9538e7ec4c0eefbe46aace352fd3 (diff) | |
switch virtbuf to virtpbv0.2.36
Diffstat (limited to 'importDomain.go')
| -rw-r--r-- | importDomain.go | 6 |
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 { |
