Browse Source

Fix Quick-start example syntax.

This patch fixes syntax of example provided by documentation.

Change-Id: I2f6a5361a2dd4af1357a99e470eef2eed9a6b4cd
changes/44/340944/2
Vasyl Saienko 5 years ago
parent
commit
e8cc61bbaa
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      README.rst
  2. +1
    -1
      doc/source/api_v1.rst

+ 1
- 1
README.rst View File

@ -23,7 +23,7 @@ Python API
Quick-start Example::
>>> from ironicclient import client
>>>
>>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155'
>>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155',
>>> 'ironic_url': 'http://ironic.example.org:6385/'}
>>> ironic = client.get_client(1, **kwargs)


+ 1
- 1
doc/source/api_v1.rst View File

@ -39,7 +39,7 @@ To create the client, you can use the API like so::
>>> from ironicclient import client
>>>
>>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155'
>>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155',
>>> 'ironic_url': 'http://ironic.example.org:6385/'}
>>> ironic = client.get_client(1, **kwargs)


Loading…
Cancel
Save