diff options
| author | Jeff Carr <[email protected]> | 2024-10-25 19:16:44 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-25 19:16:44 -0500 |
| commit | 030af1bcfb7dad880a9fdf4286432fc36d1bf251 (patch) | |
| tree | ae093e875206c32d771c0a52f651ee57380b46da /libvirtxml.go | |
| parent | a5eee861ea52fb0a33827fed3770f383aaeca03a (diff) | |
check for duplicate disk names
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'libvirtxml.go')
| -rw-r--r-- | libvirtxml.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libvirtxml.go b/libvirtxml.go index b40c3a1..38a90a1 100644 --- a/libvirtxml.go +++ b/libvirtxml.go @@ -376,7 +376,10 @@ func dumpNonStandardXML(domcfg *libvirtxml.Domain) (string, error) { // this is probably something about what kind of OS you might be running // todo: get this directly from the disk image if domcfg.Metadata != nil { - fmt.Printf("Not saving Domain.Metadata: %+v\n", domcfg.Metadata) + var s string + s = domcfg.Metadata.XML + log.Info("Not saving Domain.Metadata.XML:", s) + log.Info("todo: get this from disk image") domcfg.Metadata = nil } |
