Skip to content

Commit 5689c1d

Browse files
Merge pull request #2 from CapsuleHealth/log-formatting
diff format standardize
2 parents d86683f + 627e588 commit 5689c1d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hamb/ham_run_utility.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,9 @@ def save_db_log(
262262
result_b=", ".join(str(d) for d in detail["result_b"])
263263
if isinstance(detail["result_b"], list)
264264
else detail["result_b"],
265-
diff=detail["diff"] if detail["diff"] is not None else 0,
265+
diff=", ".join(str(d) for d in detail["diff"])
266+
if isinstance(detail["diff"], list)
267+
else detail["diff"],
266268
warning=manifest_config["warning_threshold"],
267269
failure=manifest_config["failure_threshold"],
268270
env=db_env,

0 commit comments

Comments
 (0)