nimble: Fix missing ssl support
The requests.get in the get_query method was always disabling the ssl certificate checck. Use the "nimble_verify_certificate" configuration option to allow the user to enable or disable it like the rest of the requests usage in the driver. Change-Id: If15948a19a0df2d57f2da84c0774bc4ceb1fff60 Signed-off-by: Chuck Short <chucks@redhat.com>
This commit is contained in:
parent
5e5627e9ea
commit
c25c30245c
@ -1657,7 +1657,7 @@ class NimbleRestAPIExecutor(object):
|
||||
def get_query(self, api, query):
|
||||
url = self.uri + api
|
||||
return requests.get(url, headers=self.headers,
|
||||
params=query, verify=False)
|
||||
params=query, verify=self.verify)
|
||||
|
||||
@_connection_checker
|
||||
def put(self, api, payload):
|
||||
|
Loading…
x
Reference in New Issue
Block a user