summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Simo <os@mpmsimo.com>2015-05-27 16:44:26 +0000
committerMichael Simo <os@mpmsimo.com>2015-05-27 16:46:32 +0000
commit519282d883233b60ce9f36f6a7ae271c4efdd166 (patch)
tree3e79f8b254b84ae406700c711f633c08eaea90e6 /doc
parent4776495adfadbf5240a9e0f169990ce139af9549 (diff)
downloadpython-keystoneclient-519282d883233b60ce9f36f6a7ae271c4efdd166.tar.gz
Fixed grammatical errors in the V2 Client API doc
In the using-api-v2.rst document, various inconsistencies in spelling of "openstackDemo", as well as the password under the "Creating Tenants" and "Creating Users" sections. Updated service names to adhere to the OpenStack service naming conventions. Fixed capitalization of "Client" to "client". Change-Id: Ib20782f5b05f7097158f606c6562f92126650b89 Closes-Bug: #1458015
Diffstat (limited to 'doc')
-rw-r--r--doc/source/using-api-v2.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/source/using-api-v2.rst b/doc/source/using-api-v2.rst
index 03e76e1..6285d21 100644
--- a/doc/source/using-api-v2.rst
+++ b/doc/source/using-api-v2.rst
@@ -1,5 +1,5 @@
=======================
-Using the V2 Client API
+Using the V2 client API
=======================
Introduction
@@ -36,7 +36,7 @@ it will raise an instance of subclass of
Authenticating
==============
-There are two ways to authenticate against Keystone:
+There are two ways to authenticate against keystone:
* against the admin endpoint with the admin token
* against the public endpoint with a username and password
@@ -56,7 +56,7 @@ user::
>>> from keystoneclient.v2_0 import client
>>> username='adminUser'
- >>> password='secreetword'
+ >>> password='secretword'
>>> tenant_name='openstackDemo'
>>> auth_url='http://192.168.206.130:5000/v2.0'
>>> keystone = client.Client(username=username, password=password,
@@ -65,7 +65,7 @@ user::
Creating tenants
================
-This example will create a tenant named *openStackDemo*::
+This example will create a tenant named *openstackDemo*::
>>> from keystoneclient.v2_0 import client
>>> keystone = client.Client(...)
@@ -77,7 +77,7 @@ Creating users
==============
This example will create a user named *adminUser* with a password *secretword*
-in the opoenstackDemo tenant. We first need to retrieve the tenant::
+in the openstackDemo tenant. We first need to retrieve the tenant::
>>> from keystoneclient.v2_0 import client
>>> keystone = client.Client(...)