summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-04-04 01:21:33 +0000
committerGerrit Code Review <review@openstack.org>2018-04-04 01:21:33 +0000
commitca115b1d60164a94b2557aacc405a1ae27cef2f3 (patch)
treee703db44442ec85f00a9b18cf5891d05ae5d6c79
parentbd712fa0cac8ce4cdcd435fb083160be15efb694 (diff)
parentd6c6011fc83ab9a3bbd65e8dd4557ebf25b363ae (diff)
downloadpython-cinderclient-ca115b1d60164a94b2557aacc405a1ae27cef2f3.tar.gz
Merge "Update python usage docs"
-rw-r--r--doc/source/index.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 8388162..abe5c0d 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -26,7 +26,8 @@ API::
>>> auth = loader.load_from_options(auth_url=AUTH_URL,
... username=USERNAME,
... password=PASSWORD,
- ... project_id=PROJECT_ID)
+ ... project_id=PROJECT_ID,
+ ... user_domain_name=USER_DOMAIN_NAME)
>>> sess = session.Session(auth=auth)
>>> cinder = client.Client(VERSION, session=sess)
>>> cinder.volumes.list()