Skip to content

Commit

Permalink
Sort hashes of signature fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad committed Oct 29, 2024
1 parent 3002117 commit e57a523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/infrahub/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def _get_signature_field(cls, value: Any) -> list[bytes]:
else:
hashes.append(cls._get_hash_value(value))

return hashes
return sorted(hashes)

@property
def _sorting_id(self) -> tuple[Any]:
Expand Down

0 comments on commit e57a523

Please sign in to comment.