Skip to content

Commit

Permalink
#7 Added missed callback to the cli options [run-saas-tests]
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed May 24, 2024
1 parent 16b5b75 commit fd993a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def secret_callback(ctx: click.Context, param: click.Option, value: Any):
be no way of altering this behaviour.
"""
if value == SECRET_DISPLAY:
secret_param = SecretParams(param.name)
secret_param = SecretParams(param.opts[0][2:])
return os.environ.get(secret_param.name)
return value

Expand Down

0 comments on commit fd993a8

Please sign in to comment.