]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/rados: Fix extra NL in getxattr 60687/head
authorAdam Kupczyk <akupczyk@ibm.com>
Mon, 5 Aug 2024 13:34:02 +0000 (13:34 +0000)
committerVenky Shankar <vshankar@redhat.com>
Mon, 11 Nov 2024 07:54:54 +0000 (13:24 +0530)
Recent code refactor caused extra "std::endl" output.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit a71990f70f5665ade701c3f9dc30f1b071441da5)

src/tools/rados/rados.cc

index a76e8cb0be1984db4fdf818aee1c48f781417908..ebecb9d0b574e6d15b8d27925ebec924b1057ea1 100644 (file)
@@ -2774,7 +2774,7 @@ static int rados_tool_common(const std::map < std::string, std::string > &opts,
     }
     else {
       string s(bl.c_str(), bl.length());
-      cout << s << std::endl;
+      cout << s;
     }
   } else if (strcmp(nargs[0], "rmxattr") == 0) {
     if (!pool_name || nargs.size() < (obj_name ? 2 : 3)) {