From 238517a98663f1e9cfdab1ae2aae3d28c8ee671d Mon Sep 17 00:00:00 2001 From: ChristineTChen Date: Fri, 3 Sep 2021 18:51:12 -0400 Subject: [PATCH] Skip validation on warnings for valid use --- .../datadog_checks/cloud_foundry_api/cloud_foundry_api.py | 2 +- voltdb/datadog_checks/voltdb/client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud_foundry_api/datadog_checks/cloud_foundry_api/cloud_foundry_api.py b/cloud_foundry_api/datadog_checks/cloud_foundry_api/cloud_foundry_api.py index 2282f71a00b35..d19976a033057 100644 --- a/cloud_foundry_api/datadog_checks/cloud_foundry_api/cloud_foundry_api.py +++ b/cloud_foundry_api/datadog_checks/cloud_foundry_api/cloud_foundry_api.py @@ -111,7 +111,7 @@ def get_oauth_token(self): try: res = self.http.get( join_url(self._uaa_url, "oauth/token"), - auth=(self._client_id, self._client_secret), + auth=(self._client_id, self._client_secret), # SKIP_HTTP_VALIDATION` params={"grant_type": "client_credentials"}, ) except RequestException: diff --git a/voltdb/datadog_checks/voltdb/client.py b/voltdb/datadog_checks/voltdb/client.py index 9470fde262cc8..a4766624824f2 100644 --- a/voltdb/datadog_checks/voltdb/client.py +++ b/voltdb/datadog_checks/voltdb/client.py @@ -32,7 +32,7 @@ def request(self, procedure, parameters=None): parameters = json.dumps(parameters) params['Parameters'] = parameters - return self._http_get(url, auth=auth, params=params) + return self._http_get(url, auth=auth, params=params) # SKIP_HTTP_VALIDATION class VoltDBAuth(requests.auth.AuthBase):