Merge "remove extra bracket from script in docs."

This commit is contained in:
Jenkins 2016-11-10 06:47:13 +00:00 committed by Gerrit Code Review
commit 9ea401c55f
1 changed files with 3 additions and 3 deletions

View File

@ -155,8 +155,8 @@ and the domain admin:
Then, restart magnum-api and magnum-cond to pick up the new configuration. Then, restart magnum-api and magnum-cond to pick up the new configuration.
If the problem still exists, you might want to manually verify your domain If the problem still exists, you might want to manually verify your domain
admin credential to ensure it has the right privilege. To do that, run the admin credential to ensure it has the right privilege. To do that, run the
script below with the credentials replaced. If it fails, that means the script below with the credentials replaced (you must use the IDs where
credential you provided is invalid. specified). If it fails, that means the credential you provided is invalid.
.. code-block:: python .. code-block:: python
@ -169,7 +169,7 @@ credential you provided is invalid.
user_id=YOUR_TRUSTEE_DOMAIN_ADMIN_ID, user_id=YOUR_TRUSTEE_DOMAIN_ADMIN_ID,
domain_id=YOUR_TRUSTEE_DOMAIN_ID, domain_id=YOUR_TRUSTEE_DOMAIN_ID,
password=YOUR_TRUSTEE_DOMAIN_ADMIN_PASSWORD) password=YOUR_TRUSTEE_DOMAIN_ADMIN_PASSWORD)
)
session = ka_session.Session(auth=auth) session = ka_session.Session(auth=auth)
domain_admin_client = kc_v3.Client(session=session) domain_admin_client = kc_v3.Client(session=session)
user = domain_admin_client.users.create( user = domain_admin_client.users.create(