Skip to content

Commit

Permalink
Fix log messages for invalid value references (#634)
Browse files Browse the repository at this point in the history
Fix log messages such as this:
`Unable to find SubstituteReference for
flux-system/alertmanager-silencer: cluster-settings`
  • Loading branch information
allenporter authored Apr 21, 2024
1 parent dc49801 commit 306fd5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flux_local/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _lookup_value_reference(
if found_data is None:
if not ref.optional:
raise InvalidValuesReference(
"Unable to find {ref.kind} {namespace}/{ref.name} referenced"
f"Unable to find {ref.kind} {namespace}/{ref.name} referenced"
)
if ref.target_path:
# When a target path is specified, the value is expected to be
Expand Down

0 comments on commit 306fd5b

Please sign in to comment.