From 0592294dd40047e9161d33b3df1db9901a246fe9 Mon Sep 17 00:00:00 2001 From: Yuriy Novostavskiy Date: Wed, 11 Dec 2024 18:41:01 +0200 Subject: [PATCH] remove redundant code Co-authored-by: Bikouo Aubin <79859644+abikouo@users.noreply.github.com> --- plugins/modules/helm_registry_auth.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/modules/helm_registry_auth.py b/plugins/modules/helm_registry_auth.py index e8a71ae6..06eecf29 100644 --- a/plugins/modules/helm_registry_auth.py +++ b/plugins/modules/helm_registry_auth.py @@ -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)