Skip to content

Commit

Permalink
fixing bug when trying to do regex via parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
SethHollandsworth committed Apr 12, 2024
1 parent 06e6177 commit e923262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/confcom/azext_confcom/template_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def replace_params_and_vars(params: dict, vars_dict: dict, attribute):
if isinstance(attribute, (int, float, bool)):
out = attribute
elif isinstance(attribute, str):
out = find_value_in_params_and_vars(params, vars_dict, attribute)
out = find_value_in_params_and_vars(params, vars_dict, attribute, ignore_undefined_parameters=True)
param_name = re.finditer(WHOLE_PARAMETER_AND_VARIABLE, attribute)

# there should only be one match
Expand Down

0 comments on commit e923262

Please sign in to comment.