Skip to content

Commit

Permalink
Add cacert to .fields in HttpProxy (#923) (#924)
Browse files Browse the repository at this point in the history
* Add cacert to .fields in HttpProxy

* ignore cacert in http-proxy.read()

(cherry picked from commit 9d5b535)

Co-authored-by: David Moore <[email protected]>
  • Loading branch information
Satellite-QE and damoore044 committed Jun 2, 2023
1 parent 049f5ec commit 997f8eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nailgun/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -5005,6 +5005,7 @@ def __init__(self, server_config=None, **kwargs):
'password': entity_fields.StringField(),
'organization': entity_fields.OneToManyField(Organization),
'location': entity_fields.OneToManyField(Location),
'cacert': entity_fields.StringField(),
}
self._meta = {'api_path': 'api/v2/http_proxies'}
super().__init__(server_config, **kwargs)
Expand All @@ -5030,6 +5031,7 @@ def read(self, entity=None, attrs=None, ignore=None, params=None):
ignore.add('password')
ignore.add('organization')
ignore.add('location')
ignore.add('cacert')
return super().read(entity, attrs, ignore, params)


Expand Down

0 comments on commit 997f8eb

Please sign in to comment.