Fix init property swap in DomainVolumes
This commit is contained in:
parent
8097da7cab
commit
5db67fca8d
@ -86,8 +86,8 @@ class DomainPool(Pool):
|
||||
|
||||
devices[name][atr] = value
|
||||
|
||||
return [DomainVolume(n, self.vm, self.name, **atrs)
|
||||
for n, atrs in devices.items()]
|
||||
return [DomainVolume(self.vm, _name, self.name, **atrs)
|
||||
for _name, atrs in devices.items()]
|
||||
|
||||
def clone(self, source, target):
|
||||
raise NotImplementedError
|
||||
|
Loading…
Reference in New Issue
Block a user