mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +00:00
pybind/mgr/status: fix ceph fs status in py3 environments.
Fixes: http://tracker.ceph.com/issues/37573 Signed-off-by: Jan Fajerski <jfajerski@suse.com>
This commit is contained in:
parent
af96e16271
commit
c138daa794
@ -246,7 +246,7 @@ class Module(MgrModule):
|
||||
output += "\n" + standby_table.get_string() + "\n"
|
||||
|
||||
if len(mds_versions) == 1:
|
||||
output += "MDS version: {0}".format(mds_versions.keys()[0])
|
||||
output += "MDS version: {0}".format(list(mds_versions)[0])
|
||||
else:
|
||||
version_table = PrettyTable(["version", "daemons"])
|
||||
for version, daemons in six.iteritems(mds_versions):
|
||||
|
Loading…
Reference in New Issue
Block a user