Skip to content

Commit 4d55dfa

Browse files
committed
ci: allow missing metrics
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
1 parent 58a54ec commit 4d55dfa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

flow/util/genRuleFile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ def gen_rule_file(
181181
change_str = ""
182182
for field, option in rules_dict.items():
183183
if field not in metrics.keys():
184-
print(f"[ERROR] Metric {field} not found")
185-
sys.exit(1)
184+
print(f"[WARNING] Metric {field} not found")
185+
continue
186186

187187
if isinstance(metrics[field], str):
188188
print(f"[WARNING] Skipping string field {field} = {metrics[field]}")

0 commit comments

Comments
 (0)