Merge "Fix typo on class Client sample"

This commit is contained in:
Jenkins 2015-04-20 19:56:35 +00:00 committed by Gerrit Code Review
commit 2b1f70c4ff
1 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ class Client(object):
>>> from keystoneclient.auth.identity import v2 >>> from keystoneclient.auth.identity import v2
>>> from keystoneclient import session >>> from keystoneclient import session
>>> from novaclient.client import Client >>> from novaclient import client
>>> auth = v2.Password(auth_url=AUTH_URL, >>> auth = v2.Password(auth_url=AUTH_URL,
username=USERNAME, username=USERNAME,
password=PASSWORD, password=PASSWORD,
@ -72,9 +72,9 @@ class Client(object):
Then call methods on its managers:: Then call methods on its managers::
>>> client.servers.list() >>> nova.servers.list()
... ...
>>> client.flavors.list() >>> nova.flavors.list()
... ...
It is also possible to use an instance as a context manager in which It is also possible to use an instance as a context manager in which