ovirt vmpool fix (#57453)

pull/4420/head
Martin Nečas 2019-06-06 10:30:30 +02:00 committed by ansibot
parent 6f06fc9945
commit 8a02901e5f
1 changed files with 1 additions and 1 deletions

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):