]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rest_bench: bucketname is not mandatory as we have a default name 5383/head
authorhuangjun <hjwsm1989@gmail.com>
Thu, 16 Jul 2015 01:42:55 +0000 (09:42 +0800)
committerLoic Dachary <ldachary@redhat.com>
Tue, 28 Jul 2015 15:26:50 +0000 (17:26 +0200)
Signed-off-by: huangjun <hjwsm1989@gmail.com>
(cherry picked from commit bc56a87ea3b69b4856a2b9f9fb2a63dbfb1211c3)

src/tools/rest_bench.cc

index 46a72c5b35c333f1b217d8c16c59d4b1d2bd854d..6da5cf8f4b348b6be73b657506a76caf3af30ef5 100644 (file)
@@ -743,10 +743,6 @@ int main(int argc, const char **argv)
     }
   }
 
-  if (bucket.empty()) {
-    cerr << "rest-bench: bucket not specified" << std::endl;
-    usage_exit();
-  }
   if (args.empty())
     usage_exit();
   int operation = 0;