Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.

Commit 9be0494

Browse files
committed
PAF-16 #Unifying request_handler for now
1 parent 517b593 commit 9be0494

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dynatrace/requests/request_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ def cluster_get(cluster, endpoint, params=None):
7373

7474
with no_ssl_verification():
7575
params['Api-Token'] = cluster['cluster_token']
76-
verify = (True if "verify_ssl" not in cluster else cluster ["verify_ssl"])
76+
7777
response = requests.get(
7878
"https://" + cluster['url'] + "/api/v1.0/onpremise/" + endpoint,
7979
params=params,
80-
verify=verify
80+
verify=(True if "verify_ssl" not in cluster else cluster ["verify_ssl"])
8181
)
8282
check_response(response)
8383
return response

0 commit comments

Comments
 (0)