summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/shell.py')
-rw-r--r--openstackclient/shell.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py
index f8a47ca6..b508d379 100644
--- a/openstackclient/shell.py
+++ b/openstackclient/shell.py
@@ -405,7 +405,10 @@ class OpenStackShell(app.App):
self.verify = self.options.os_cacert
else:
self.verify = not self.options.insecure
- self.restapi = restapi.RESTApi(verify=self.verify)
+ self.restapi = restapi.RESTApi(
+ verify=self.verify,
+ debug=self.options.debug,
+ )
def prepare_to_run_command(self, cmd):
"""Set up auth and API versions"""