mirror of https://github.com/ansible/ansible.git
ovirt_vm: Fix getting console parameter (#63325)
Previously if the ovirt_vm module was executed without graphical_console parameter, the task failed with "NoneType has no attribute 'get'". The problem was that we obtained the graphical_console by self.param('graphical_console', dict()), which returned None, in case graphical_console is not passed instead of empty dict. So we must change the line to self.param('graphical_console') or dict().pull/63326/head
parent
38d1025d58
commit
f2e5e6de23
Loading…
Reference in New Issue