Fix new devel sanity errors. (#3194)

This commit is contained in:
Felix Fontein
2021-08-12 12:07:50 +02:00
committed by GitHub
parent 5855ef558a
commit 1fec1d0c81
15 changed files with 38 additions and 25 deletions

View File

@@ -384,8 +384,8 @@ class NetAppESeriesModule(object):
path = path[1:]
request_url = self.url + self.DEFAULT_REST_API_PATH + path
if self.log_requests or True:
self.module.log(pformat(dict(url=request_url, data=data, method=method)))
# if self.log_requests:
self.module.log(pformat(dict(url=request_url, data=data, method=method)))
return request(url=request_url, data=data, method=method, headers=headers, use_proxy=True, force=False, last_mod_time=None,
timeout=self.DEFAULT_TIMEOUT, http_agent=self.HTTP_AGENT, force_basic_auth=True, ignore_errors=ignore_errors, **self.creds)