From 9f69ea4879ed8dedc63c7cf8e1c1b4dae69580a6 Mon Sep 17 00:00:00 2001 From: Valentin Jonev Date: Wed, 27 Dec 2023 20:37:27 +0200 Subject: [PATCH] Added the missing init for the rest client (#1953) [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 --- plugins/modules/vcenter_root_password_expiration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/modules/vcenter_root_password_expiration.py b/plugins/modules/vcenter_root_password_expiration.py index 94cbcfcc2..7becddfe7 100644 --- a/plugins/modules/vcenter_root_password_expiration.py +++ b/plugins/modules/vcenter_root_password_expiration.py @@ -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