autogenpb loop.Next()
This commit is contained in:
parent
a9e89eb18f
commit
bbcac059de
|
@ -54,7 +54,7 @@ func findDomain(c *pb.Cluster, domcfg *libvirtxml.Domain) (*pb.Droplet, error) {
|
||||||
|
|
||||||
loop := c.DropletsAll() // get the list of droplets
|
loop := c.DropletsAll() // get the list of droplets
|
||||||
for loop.Scan() {
|
for loop.Scan() {
|
||||||
d := loop.Droplet()
|
d := loop.Next()
|
||||||
if d.Hostname == domcfg.Name {
|
if d.Hostname == domcfg.Name {
|
||||||
if d.Uuid != domcfg.UUID {
|
if d.Uuid != domcfg.UUID {
|
||||||
if domcfg.UUID == "" {
|
if domcfg.UUID == "" {
|
||||||
|
|
Loading…
Reference in New Issue