]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados: fix extra tabs on warning for pool copy 49251/head
authorshreyanshjain7174 <ssanchet@redhat.com>
Mon, 5 Dec 2022 12:34:46 +0000 (06:34 -0600)
committershreyanshjain7174 <ssanchet@redhat.com>
Mon, 5 Dec 2022 12:34:46 +0000 (06:34 -0600)
There seems to be some extra tabs in rados cppool error message which might confuse users.In reality there should not be any extra spaces on warning messages.

Fixes: https://tracker.ceph.com/issues/58165
Signed-off-by: shreyanshjain7174 <ssanchet@redhat.com>
src/tools/rados/rados.cc

index 42d1a00c03573b7cca28fe44c8f533698e2b755a..2f6f9f1e1428c7bc0c5425372ffaf46c337d4346 100644 (file)
@@ -3118,7 +3118,7 @@ static int rados_tool_common(const std::map < std::string, std::string > &opts,
     }
 
     cerr << "WARNING: pool copy does not preserve user_version, which some "
-        << "    apps may rely on." << std::endl;
+        << "apps may rely on." << std::endl;
 
     if (rados.get_pool_is_selfmanaged_snaps_mode(src_pool)) {
       cerr << "WARNING: pool " << src_pool << " has selfmanaged snaps, which are not preserved\n"