mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
osd: ECMsgTypes: dump json bools instead of strings
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
This commit is contained in:
parent
3f0ea9512b
commit
4d5469acc4
@ -70,8 +70,8 @@ void ECSubWrite::dump(Formatter *f) const
|
||||
f->dump_stream("reqid") << reqid;
|
||||
f->dump_stream("at_version") << at_version;
|
||||
f->dump_stream("trim_to") << trim_to;
|
||||
f->dump_stream("has_updated_hit_set_history")
|
||||
<< static_cast<bool>(updated_hit_set_history);
|
||||
f->dump_bool("has_updated_hit_set_history",
|
||||
static_cast<bool>(updated_hit_set_history));
|
||||
}
|
||||
|
||||
void ECSubWrite::generate_test_instances(list<ECSubWrite*> &o)
|
||||
@ -123,8 +123,8 @@ void ECSubWriteReply::dump(Formatter *f) const
|
||||
{
|
||||
f->dump_unsigned("tid", tid);
|
||||
f->dump_stream("last_complete") << last_complete;
|
||||
f->dump_stream("committed") << committed;
|
||||
f->dump_stream("applied") << applied;
|
||||
f->dump_bool("committed", committed);
|
||||
f->dump_bool("applied", applied);
|
||||
}
|
||||
|
||||
void ECSubWriteReply::generate_test_instances(list<ECSubWriteReply*>& o)
|
||||
|
Loading…
Reference in New Issue
Block a user