]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cls::journal: don't print client data
authorMykola Golub <mgolub@mirantis.com>
Sun, 7 Feb 2016 10:50:24 +0000 (12:50 +0200)
committerMykola Golub <mgolub@mirantis.com>
Sat, 20 Feb 2016 06:19:16 +0000 (08:19 +0200)
It makes `rbd journal status` output look ugly.

It is a temporary solution and is going to be improved in
the future (it could be useful to see data but decoded).

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/cls/journal/cls_journal_types.cc

index 8a94d10530ad292fe388f9a98a73a8648f07e9af..9d8af00957a9d4595662d825ce3e3a17fee7bb77 100644 (file)
@@ -155,9 +155,6 @@ std::ostream &operator<<(std::ostream &os,
 
 std::ostream &operator<<(std::ostream &os, const Client &client) {
   os << "[id=" << client.id << ", "
-     << "data=";
-  client.data.hexdump(os);
-  os << ", "
      << "commit_position=" << client.commit_position << "]";
   return os;
 }