Skip to content

Commit

Permalink
Added the missing init for the rest client (#1953)
Browse files Browse the repository at this point in the history
[BUGFIX] Added the missing init for the rest client

SUMMARY
Added a missing init
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
vcenter_root_password_expiration
ADDITIONAL INFORMATION

Reviewed-by: Mario Lenz <[email protected]>
  • Loading branch information
valentinJonev authored Dec 27, 2023
1 parent ccb14cc commit 9f69ea4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/modules/vcenter_root_password_expiration.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@


class VcRootPasswordExpiration(VmwareRestClient):
def __init__(self, module: AnsibleModule) -> None:
def __init__(self, module: AnsibleModule):
super(VcRootPasswordExpiration, self).__init__(module)
self.module = module
self._state = True if self.module.params['state'] == 'present' else False

Expand Down

0 comments on commit 9f69ea4

Please sign in to comment.