]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/rados: Fix extra NL in getxattr 59025/head
authorAdam Kupczyk <akupczyk@ibm.com>
Mon, 5 Aug 2024 13:34:02 +0000 (13:34 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Mon, 5 Aug 2024 13:34:02 +0000 (13:34 +0000)
Recent code refactor caused extra "std::endl" output.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
src/tools/rados/rados.cc

index 49e895658a48c616837d55a0e17e70b4ab1e0206..da54d441e0c3e2e06fb6e37468ee35c26d55dcc5 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)) {