autogenpb loop.Next()

This commit is contained in:
Jeff Carr 2024-12-04 02:26:18 -06:00
parent a9e89eb18f
commit bbcac059de
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func findDomain(c *pb.Cluster, domcfg *libvirtxml.Domain) (*pb.Droplet, error) {
loop := c.DropletsAll() // get the list of droplets
for loop.Scan() {
d := loop.Droplet()
d := loop.Next()
if d.Hostname == domcfg.Name {
if d.Uuid != domcfg.UUID {
if domcfg.UUID == "" {