Correct the example keystone session code imports
This is a follow up to patch Ia3fd947ff619c11ff0ce474897533dcf7b49d9b3. One of the imports for the keystone session example was wrong. It was trying to import v3 like: from keystoneauth1 import v3 Whereas in my testing v3 actually exists deeper under identity: from keystoneauth1.identity import v3 This patch fixes this import in the example documentation. Change-Id: Ie31144fe65116d20a36b83a96079a3804bf55f29
This commit is contained in:
		| @@ -24,7 +24,7 @@ Keystone Session | |||||||
| .. code-block:: python | .. code-block:: python | ||||||
|  |  | ||||||
|     from keystoneauth1 import session |     from keystoneauth1 import session | ||||||
|     from keystoneauth1 import v3 |     from keystoneauth1.identity import v3 | ||||||
|  |  | ||||||
|     # Create a password auth plugin |     # Create a password auth plugin | ||||||
|     auth = v3.Password(auth_url='http://127.0.0.1:5000/v3/', |     auth = v3.Password(auth_url='http://127.0.0.1:5000/v3/', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Matthew Oliver
					Matthew Oliver