Skip to content

Commit

Permalink
Ignore content_default_http_proxy param for SAT-30769
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Talreja <[email protected]>
  • Loading branch information
Gauravtalreja1 committed Feb 14, 2025
1 parent 5b34885 commit d18e983
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nailgun/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -5557,12 +5557,17 @@ def read(self, entity=None, attrs=None, ignore=None, params=None):
For more information, see `Bugzilla #1779642
<https://bugzilla.redhat.com/show_bug.cgi?id=1779642>`_.
"""
if attrs is None:
attrs = self.read_json()
if ignore is None:
ignore = set()
ignore.add('password')
ignore.add('organization')
ignore.add('location')
ignore.add('cacert')
# Workaround for SAT-30769
if 'content_default_http_proxy' not in attrs:
ignore.add('content_default_http_proxy')
return super().read(entity, attrs, ignore, params)


Expand Down

0 comments on commit d18e983

Please sign in to comment.