Skip to content

Commit

Permalink
Added the missing init for the rest client
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Yonev committed Dec 19, 2023
1 parent ccb14cc commit c7b3636
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 c7b3636

Please sign in to comment.