Skip to content

Commit

Permalink
Fix derived metric unsupport message
Browse files Browse the repository at this point in the history
Signed-off-by: Wei-Chun, Chang <[email protected]>
  • Loading branch information
wcchang1115 committed Sep 5, 2023
1 parent bc1b6c3 commit 8d9e88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piperider_cli/dbtutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def _create_metric(name, filter=None, alias=None, derived_metric=None):
return None

Check warning on line 473 in piperider_cli/dbtutil.py

View check run for this annotation

Codecov / codecov/patch

piperider_cli/dbtutil.py#L472-L473

Added lines #L472 - L473 were not covered by tests

if filter is not None:
f = get_metric_filter(metric.get('name'), filter)
f = get_metric_filter(derived_metric if derived_metric else metric.get('name'), filter)
if f is not None:
metric_filter.append(f)
else:
Expand Down

0 comments on commit 8d9e88b

Please sign in to comment.