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
fixes: #1598

Signed-off-by: James Tanner <tanner.jc@gmail.com>
(cherry picked from commit 4a7c5b0)
  • Loading branch information
jctanner authored and patchback[bot] committed Sep 29, 2023
1 parent 1d7cc9f commit bff948a
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 @@ -719,7 +719,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 bff948a

Please sign in to comment.