Skip to content

Commit

Permalink
Update scenario/consistency_checker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer authored Mar 27, 2024
1 parent a770726 commit 4b7a783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scenario/consistency_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def check_storages_consistency(
return Results(errors, [])


def _is_secret_identifier(value):
def _is_secret_identifier(value: str):
"""Return true iff the value is in the form `secret:{secret id}`."""
# cf. https://github.com/juju/juju/blob/13eb9df3df16a84fd471af8a3c95ddbd04389b71/core/secrets/secret.go#L48
return re.match(r"secret:[0-9a-z]{20}$", secret_id)
Expand Down

0 comments on commit 4b7a783

Please sign in to comment.