diff options
| author | Jeff Carr <[email protected]> | 2024-10-26 04:36:38 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-26 04:36:38 -0500 |
| commit | 11f0cd97b596c2b08936edc2a99c5dac38df7637 (patch) | |
| tree | ac1dee8250d816485eba392899ebe9e3994fd228 /addDroplet.go | |
| parent | fd3e14bcc6676b6f2e770a764351f82bee32738f (diff) | |
using lib/virtigoxml and it seems to actually work
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'addDroplet.go')
| -rw-r--r-- | addDroplet.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addDroplet.go b/addDroplet.go index 7212ed8..c2d15b8 100644 --- a/addDroplet.go +++ b/addDroplet.go @@ -11,6 +11,7 @@ import ( pb "go.wit.com/lib/protobuf/virtbuf" "go.wit.com/log" "libvirt.org/go/libvirtxml" + "go.wit.com/lib/virtigoxml" ) // import a libvirt xml file @@ -48,7 +49,7 @@ func addDomainDroplet(domcfg *libvirtxml.Domain) (*DropletT, []*pb.Event, error) return d, alle, errors.New("update failed for " + domcfg.Name) } log.Info("added new droplet", domcfg.Name, domcfg.UUID) - dumpNonStandardXML(domcfg) + virtigoxml.DumpNonStandardXML(domcfg) return d, alle, nil } |
