summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorDiego de Lima Pereira <diegolp@lsd.ufcg.edu.br>2015-02-13 08:25:58 -0300
committerDiego de Lima Pereira <diegolp@lsd.ufcg.edu.br>2015-02-13 08:25:58 -0300
commitdda5d828d47ee6dc95463566430ad415ac1de46f (patch)
tree1ee853aa43d00e04d4bae32fdf24ceb203304260 /doc/source
parent4390a21663de3123fac306e9860624ba7deda0e6 (diff)
downloadpython-ironicclient-dda5d828d47ee6dc95463566430ad415ac1de46f.tar.gz
Fix Python Ironic Client Documentation
In the 'ironicclient Python API' page, the credential section has a little mistake in the example. It's missing "," in the first line and a '}' in the last. You can see it at http://docs.openstack.org/developer/python-ironicclient/api_v1.html Change-Id: I195f46ca7261390b0d6321bc6bdd7e8d0908af40
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/api_v1.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/api_v1.rst b/doc/source/api_v1.rst
index 87812d2..245e1be 100644
--- a/doc/source/api_v1.rst
+++ b/doc/source/api_v1.rst
@@ -58,10 +58,10 @@ To create a client, you can use the API like so::
>>> from ironicclient import client
>>>
- >>> kwargs = {'os_username': 'name'
+ >>> kwargs = {'os_username': 'name',
>>> 'os_password': 'password',
>>> 'os_auth_url': 'http://keystone.example.org:5000/',
- >>> 'os_tenant_name': 'tenant',
+ >>> 'os_tenant_name': 'tenant'}
>>> ironic = client.get_client(1, **kwargs)
Perform ironic operations