mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
Merge pull request #4171 from majianpeng/cleanup
common: print hexadecimal for ghobject_t.generation. Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
877d5d8820
@ -292,7 +292,7 @@ ostream& operator<<(ostream& out, const ghobject_t& o)
|
||||
if (o.generation != ghobject_t::NO_GEN ||
|
||||
o.shard_id != shard_id_t::NO_SHARD) {
|
||||
assert(o.shard_id != shard_id_t::NO_SHARD);
|
||||
out << "/" << o.generation << "/" << (unsigned)(o.shard_id);
|
||||
out << "/" << std::hex << o.generation << "/" << (unsigned)(o.shard_id) << std::dec;
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user