mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
mon: PGMonitor: dump 'epoch' as json int instead of string
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
This commit is contained in:
parent
317cf95f5a
commit
1a120e981a
@ -1566,7 +1566,7 @@ bool PGMonitor::preprocess_command(MMonCommand *m)
|
||||
mon->osdmon()->osdmap.pg_to_up_acting_osds(pgid, up, acting);
|
||||
if (f) {
|
||||
f->open_object_section("pg_map");
|
||||
f->dump_stream("epoch") << mon->osdmon()->osdmap.get_epoch();
|
||||
f->dump_int("epoch", mon->osdmon()->osdmap.get_epoch());
|
||||
f->dump_stream("raw_pgid") << pgid;
|
||||
f->dump_stream("pgid") << mpgid;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user