Fix init property swap in DomainVolumes

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2016-11-07 23:26:53 +01:00
parent 8097da7cab
commit 5db67fca8d
No known key found for this signature in database
GPG Key ID: 96ED3C3BA19C3DEE

View File

@ -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