Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
yurnov committed Dec 12, 2024
1 parent 8ac0bc4 commit 1e6b8b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/modules/helm_registry_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ def main():
if module.check_mode:
module.exit_json(changed=changed, command=helm_cmd)

rc, out, err = module.run_helm_command(helm_cmd, data=password, fails_on_error=False)
rc, out, err = module.run_helm_command(
helm_cmd, data=password, fails_on_error=False
)

if rc != 0:
if state == "absent" and "Error: not logged in" in err:
Expand Down

0 comments on commit 1e6b8b7

Please sign in to comment.