]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tools,test: fix typos in comments and usage message
authorKefu Chai <kchai@redhat.com>
Tue, 18 Sep 2018 03:32:13 +0000 (11:32 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 21 Sep 2018 04:43:33 +0000 (12:43 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/cli/crushtool/help.t
src/test/test_unfound.sh
src/tools/crushtool.cc

index 389b0614551f4e3281b53c83f553e36bb00a5bee..3db3c25d52334b7f02efad10ccacf59ecf35cb83 100755 (executable)
@@ -58,7 +58,7 @@
                            reweight a given item (and adjust ancestor
                            weights as needed)
      -i mapfn --add-bucket name type [--loc type name ...]
-                           insert a bucket into the hierachy at the given
+                           insert a bucket into the hierarchy at the given
                            location
      -i mapfn --move       name --loc type name ...
                            move the given item to specified location
index 948a21e241b2bb19ff155536a0c7cb3d77dc8db8..36a85aea0525ca7a01b6bc3ac52d0654c9f5ad2d 100755 (executable)
@@ -107,7 +107,7 @@ stray_test_impl() {
         [ $? -eq 1 ] || die "Failed to see unfound objects."
 
         #
-        # Now, when we bring up osd2, it wil be considered a stray. However, it
+        # Now, when we bring up osd2, it will be considered a stray. However, it
         # has the version that we need-- the very latest version of the
         # objects.
         #
index ce83562c3c34c80a5f3abe0e542f38dbd1d101cc..7006bbf9efa0e7948041d6c8e0d326cd39fa0fb1 100644 (file)
@@ -166,7 +166,7 @@ void usage()
   cout << "                         reweight a given item (and adjust ancestor\n"
        << "                         weights as needed)\n";
   cout << "   -i mapfn --add-bucket name type [--loc type name ...]\n"
-       << "                         insert a bucket into the hierachy at the given\n"
+       << "                         insert a bucket into the hierarchy at the given\n"
        << "                         location\n";
   cout << "   -i mapfn --move       name --loc type name ...\n"
        << "                         move the given item to specified location\n";