From 3bf7d377c00fa77e8f1ce27c54029ec97a510fa4 Mon Sep 17 00:00:00 2001 From: Calvin Remsburg Date: Sat, 3 Feb 2024 15:32:53 -0600 Subject: [PATCH] support type int --- panos_upgrade_assurance/snapshot_compare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panos_upgrade_assurance/snapshot_compare.py b/panos_upgrade_assurance/snapshot_compare.py index b70ea60..f8d6364 100644 --- a/panos_upgrade_assurance/snapshot_compare.py +++ b/panos_upgrade_assurance/snapshot_compare.py @@ -419,7 +419,7 @@ def calculate_diff_on_dicts( item_changed = False for key in keys_to_check: if right_side_to_compare[key] != left_side_to_compare[key]: - if isinstance(left_side_to_compare[key], str): + if isinstance(left_side_to_compare[key], (str, int)): result["changed"]["changed_raw"][key] = dict( left_snap=left_side_to_compare[key], right_snap=right_side_to_compare[key],