Skip to content

Commit

Permalink
support type int
Browse files Browse the repository at this point in the history
  • Loading branch information
cdot65 committed Feb 3, 2024
1 parent 0ac5fc5 commit 3bf7d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panos_upgrade_assurance/snapshot_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 3bf7d37

Please sign in to comment.