diff options
| author | Jeff Carr <[email protected]> | 2024-10-24 15:14:47 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-24 15:14:47 -0500 |
| commit | 63e750ce89e98fdc1fad7f1cb6a10c798cfc94b2 (patch) | |
| tree | a401f06364ed6d4e8b62fdf8d6db576b11df3dd8 /addDroplet.go | |
| parent | aa742d099d62697a8399ed5f8f46122710eef0e9 (diff) | |
cleanup help
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'addDroplet.go')
| -rw-r--r-- | addDroplet.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addDroplet.go b/addDroplet.go index d9912c9..be08460 100644 --- a/addDroplet.go +++ b/addDroplet.go @@ -70,6 +70,8 @@ func findDomain(domcfg *libvirtxml.Domain) (*DropletT, error) { } if d.pb.Uuid == domcfg.UUID { if d.pb.Hostname != domcfg.Name { + fmt.Println("protobuf has: UUID and Name:", d.pb.Uuid, d.pb.Hostname) + fmt.Println("libvirt has: UUID and Name:", domcfg.UUID, domcfg.Name) fmt.Println("FOUND UUID WITH MIS-MATCHED NAME", domcfg.Name, domcfg.UUID) return d, errors.New("UUID with mis-matched names") } @@ -224,7 +226,7 @@ func updateNetwork(d *DropletT, domcfg *libvirtxml.Domain) bool { // fmt.Printf("source: %+v\n", iface.Source) macs = append(macs, iface.MAC.Address) } else { - fmt.Printf("Interface: %s, MAC Address: not available\n", iface.Target.Dev) + fmt.Printf("Interface Target: %+v, MAC Address not available\n", iface.Target) } } |
