mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
Merge pull request #13798 from tchaikov/wip-brag-count-mds
brag: count the number of mds in fsmap not in mdsmap Reviewed-by: John Spray <john.spray@redhat.com>
This commit is contained in:
commit
8a7103e85f
@ -258,7 +258,7 @@ def get_nums():
|
||||
num_mons = len(oj['monmap']['mons'])
|
||||
num_osds = int(oj['osdmap']['osdmap']['num_in_osds'])
|
||||
try:
|
||||
num_mdss = oj['mdsmap']['in']
|
||||
num_mdss = oj['fsmap']['in']
|
||||
except KeyError:
|
||||
num_mdss = 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user