Merge "Document current_user_id in a release note"
This commit is contained in:
commit
8d56263322
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
features:
|
||||
- Added a new property, 'current_user_id' which contains
|
||||
the id of the currently authenticated user from the token.
|
|
@ -396,7 +396,7 @@ class OpenStackCloud(
|
|||
cloud = shade.openstack_cloud(cloud='example')
|
||||
# Work normally
|
||||
servers = cloud.list_servers()
|
||||
cloud2 = cloud.connect_as(dict(name='different-project'))
|
||||
cloud2 = cloud.connect_as_project('different-project')
|
||||
# Work in different-project
|
||||
servers = cloud2.list_servers()
|
||||
|
||||
|
|
Loading…
Reference in New Issue