summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorricolin <rico.lin@easystack.cn>2017-09-20 02:33:11 +0800
committerRico Lin <rico.lin@easystack.cn>2017-10-20 03:00:07 +0000
commite74181b490b16cdba92282fe5ec59a37682ea82c (patch)
treee0bb7b5658eeade60185b2e565c753223012f216
parent0bfb7899b29784ee6d489142c977479d51c8d05e (diff)
downloadpython-heatclient-e74181b490b16cdba92282fe5ec59a37682ea82c.tar.gz
[policy in code] Change policy description
Now we also support get policy from policies in code. Depends-On: I610115dc1974b2182ce673bb086a1da15b022de3 Change-Id: I46d03c3303b3116e749effeecefe48949473daeb
-rw-r--r--heatclient/v1/shell.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/heatclient/v1/shell.py b/heatclient/v1/shell.py
index 6f6ff08..e5bf19c 100644
--- a/heatclient/v1/shell.py
+++ b/heatclient/v1/shell.py
@@ -633,7 +633,8 @@ def do_stack_cancel_update(hc, args):
'keys.'))
@utils.arg('-g', '--global-tenant', action='store_true', default=False,
help=_('Display stacks from all tenants. Operation only authorized '
- 'for users who match the policy in heat\'s policy.json.'))
+ 'for users who match the policy (default or explicitly '
+ 'configured in policy.json) in heat.'))
@utils.arg('-o', '--show-owner', action='store_true', default=False,
help=_('Display stack owner information. This is automatically '
'enabled when using %(arg)s.') % {'arg': '--global-tenant'})