Remove --tenant suggestion for flavor-access-list

when help flavor-access-list, nova client tells user to
try --tenant while try with it , nova client tells user
it's not implemented. We should avoid this kind of suggestion.

Change-Id: Ia35f9d35d6c4855122385de2a5cc013fcba1f126
Closes-Bug: 1515978
This commit is contained in:
jichenjc 2015-11-07 00:58:47 +08:00
parent e88df234da
commit 2b21449311

@ -807,7 +807,7 @@ def do_flavor_access_list(cs, args):
kwargs = {'tenant': args.tenant}
else:
raise exceptions.CommandError(_("Unable to get all access lists. "
"Specify --flavor or --tenant"))
"Specify --flavor"))
try:
access_list = cs.flavor_access.list(**kwargs)