ovirt vmpool fix (#57453)

This commit is contained in:
Martin Nečas 2019-06-06 10:30:30 +02:00 committed by ansibot
parent 6f06fc9945
commit 8a02901e5f

View file

@ -267,7 +267,7 @@ class VmPoolsModule(BaseModule):
type=otypes.VmPoolType(
self._module.params['type']
) if self._module.params['type'] else None,
vm=self.build_vm(vm)
vm=self.build_vm(vm) if self._module.params['vm'] else None,
)
def build_vm(self, vm):