Skip to content

Commit

Permalink
Fix a uniqueness violation for is_highest
Browse files Browse the repository at this point in the history
When syncing content, we need to ignore the upstream status of is_highest.

[noissue]
  • Loading branch information
mdellweg committed Dec 15, 2023
1 parent 3c32336 commit 8d7550b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pulp_ansible/app/tasks/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -1220,5 +1220,6 @@ def _post_save(self, batch):
continue
setattr(collection_version, attr_name, attr_value)

collection_version.is_highest = False
collection_version.save()
_update_highest_version(collection_version)

0 comments on commit 8d7550b

Please sign in to comment.