Skip to content

Commit

Permalink
Ignore the "users" field for namespaces during collection sync. (#1594)…
Browse files Browse the repository at this point in the history
… (#1600)

fixes: #1598

Signed-off-by: James Tanner <tanner.jc@gmail.com>
(cherry picked from commit 4a7c5b0)

Co-authored-by: jctanner <tanner.jc@gmail.com>
  • Loading branch information
patchback[bot] and jctanner authored Sep 29, 2023
1 parent 184cfd5 commit 8da5f72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/1598.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ignore the "users" field in namespace data during sync.
2 changes: 1 addition & 1 deletion pulp_ansible/app/tasks/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ async def _add_namespace(self, name, namespace_sha):
else:
namespace["links"] = dict()

for key in ("pulp_href", "groups", "id", "related_fields"):
for key in ("pulp_href", "groups", "id", "related_fields", "users"):
namespace.pop(key, None)

url = namespace.pop("avatar_url", None)
Expand Down

0 comments on commit 8da5f72

Please sign in to comment.