summaryrefslogtreecommitdiff
path: root/start.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-31 06:50:17 -0500
committerJeff Carr <[email protected]>2024-10-31 06:50:17 -0500
commita345a813d887b02d9c6eaea9d4645cf5c30f0573 (patch)
treeb10b29c7d9d42673a126b62892f8b56df7aac87f /start.go
parentcc092bd8955ce7589fb2d92c091a5da3f8f714e5 (diff)
rename to virtigolib
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'start.go')
-rw-r--r--start.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/start.go b/start.go
index 02f5fef..19f83ce 100644
--- a/start.go
+++ b/start.go
@@ -6,7 +6,7 @@ import (
"errors"
pb "go.wit.com/lib/protobuf/virtbuf"
- "go.wit.com/lib/virtigoxml"
+ "go.wit.com/lib/virtigolib"
"go.wit.com/log"
"libvirt.org/go/libvirtxml"
)
@@ -25,13 +25,13 @@ func newStart(start string, d *pb.Droplet) error {
log.Info("spice port was not set. spice disabled")
} else {
mergeXML(domcfg, "spice")
- if err := virtigoxml.SetSpicePort(d, domcfg); err != nil {
+ if err := virtigolib.SetSpicePort(d, domcfg); err != nil {
return err
}
}
mergeXML(domcfg, "qcow")
- return virtigoxml.GenerateDropletXml(me.dirs, d, domcfg, start)
+ return virtigolib.GenerateDropletXml(me.dirs, d, domcfg, start)
}
func mergeXML(domcfg *libvirtxml.Domain, filename string) error {
@@ -42,5 +42,5 @@ func mergeXML(domcfg *libvirtxml.Domain, filename string) error {
return err
}
- return virtigoxml.AddDefaultXml(domcfg, string(pfile))
+ return virtigolib.AddDefaultXml(domcfg, string(pfile))
}