Fix "openstack cluster policy binding list <cluster>"

Before this patch,"openstack cluster policy binding list <cluster>"
will list nothing.

Change-Id: Ife35efd28af8207d6dfbc077dd70550c76ab565d
This commit is contained in:
jonnary
2016-08-29 10:52:28 +08:00
parent 74958f8fed
commit 71d0f6c66a

View File

@@ -80,7 +80,7 @@ class ClusterPolicyList(command.Lister):
}
return (
columns,
(utils.get_item_properties(p.to_dict(), columns,
(utils.get_item_properties(p, columns,
formatters=formatters)
for p in policies)
)