Skip to content

Commit 1155673

Browse files
authored
Config query should use sslverify setting (#174)
1 parent 0125b85 commit 1155673

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

alertaclient/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def get_config_for_profle(self, profile=None):
5353
def get_remote_config(self, endpoint=None):
5454
config_url = '{}/config'.format(endpoint or self.options['endpoint'])
5555
try:
56-
r = requests.get(config_url)
56+
r = requests.get(config_url, verify=self.options['sslverify'])
5757
remote_config = r.json()
5858
except requests.RequestException as e:
5959
raise

0 commit comments

Comments
 (0)