The option to verify REST https requests is user selectable. If the
user has not enabled this then we spam the c-vol logs with warnings.
This patch disables those warnings when verify is set to false.
Change-Id: I9fd2023d7ca4898f4c206a2ddfaf35ce5cf9ca7e
self.header['x-dell-api-version'] = '2.0'
self.verify = verify
+ # Verify is a configurable option. So if this is false do not
+ # spam the c-vol log.
+ if not verify:
+ requests.packages.urllib3.disable_warnings()
+
def __enter__(self):
return self