Don't show empty columns if no column data for non-admin users
For listing flavor and showing flavor commands by non-admin users, it will
show empty columns of "resources" and "resource_aggregates" fields,
because they are invisible for common users. It's better to avoid show the
empty columns.
Reviewed: https:/ /review. openstack. org/510724 /git.openstack. org/cgit/ openstack/ python- moganclient/ commit/ ?id=9c3ae09c320 e3a0df4e64ac85f 7b965db3b39d97
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9c3ae09c320e3a0 df4e64ac85f7b96 5db3b39d97
Author: liusheng <email address hidden>
Date: Tue Oct 10 11:14:21 2017 +0800
Don't show empty columns if no column data for non-admin users
For listing flavor and showing flavor commands by non-admin users, it will aggregates" fields,
show empty columns of "resources" and "resource_
because they are invisible for common users. It's better to avoid show the
empty columns.
Change-Id: If85a9f57118590 30234f4159c9011 459bbe4287b
Closes-Bug: #1722438