diff options
| author | Cory Stone <corystone@gmail.com> | 2016-01-27 15:09:45 -0600 |
|---|---|---|
| committer | Cory Stone <corystone@gmail.com> | 2016-01-27 15:11:41 -0600 |
| commit | b670b73e446f9c707392ace6b802dcfdedecf71a (patch) | |
| tree | bda4d9d8006813516ae0637a1f0b32aadd33e495 /cinderclient/shell.py | |
| parent | faf88081626d57c3fdbfef2d2f366f25d10fc4ee (diff) | |
| download | python-cinderclient-b670b73e446f9c707392ace6b802dcfdedecf71a.tar.gz | |
Pass insecure option to HTTPClient
This option was silently being ignored.
Closes-Bug: #1538648
Change-Id: I3a1b5268e87cbc9803924be95b374d76b72a3a5d
Diffstat (limited to 'cinderclient/shell.py')
| -rw-r--r-- | cinderclient/shell.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cinderclient/shell.py b/cinderclient/shell.py index fc840e9..17dabdd 100644 --- a/cinderclient/shell.py +++ b/cinderclient/shell.py @@ -628,6 +628,8 @@ class OpenStackCinderShell(object): if not auth_plugin: auth_session = self._get_keystone_session() + insecure = self.options.insecure + self.cs = client.Client(options.os_volume_api_version, os_username, os_password, os_tenant_name, os_auth_url, region_name=os_region_name, @@ -640,6 +642,7 @@ class OpenStackCinderShell(object): bypass_url=bypass_url, retries=options.retries, http_log_debug=args.debug, + insecure=insecure, cacert=cacert, auth_system=os_auth_system, auth_plugin=auth_plugin, session=auth_session) |
