mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
messages/MClientCapRelease: fix string output
Use the vector size, not what is in the header, which is not yet filled in for outgoing messages. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
f7c1944029
commit
1cb7dbd94a
@ -33,7 +33,7 @@ private:
|
||||
public:
|
||||
const char *get_type_name() const { return "client_cap_release";}
|
||||
void print(ostream& out) const {
|
||||
out << "client_cap_release(" << head.num << ")";
|
||||
out << "client_cap_release(" << caps.size() << ")";
|
||||
}
|
||||
|
||||
void decode_payload() {
|
||||
|
Loading…
Reference in New Issue
Block a user