remove redundant code

Co-authored-by: Bikouo Aubin <79859644+abikouo@users.noreply.github.com>
This commit is contained in:
Yuriy Novostavskiy
2024-12-11 18:41:01 +02:00
committed by GitHub
parent 9ee99e4ed0
commit 0592294dd4

View File

@@ -215,9 +215,6 @@ def main():
if module.check_mode:
module.exit_json(changed=changed, command=helm_cmd)
# This one is reduntant, but it's here for clarity
elif not changed:
module.exit_json(changed=False)
rc, out, err = module.run_helm_command(helm_cmd, data=password)