]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rest_bench: bucketname is not mandatory as we have a default name 4917/head
authorhuangjun <hjwsm1989@gmail.com>
Thu, 16 Jul 2015 01:42:55 +0000 (09:42 +0800)
committerhuangjun <hjwsm1989@gmail.com>
Thu, 16 Jul 2015 01:42:55 +0000 (09:42 +0800)
Signed-off-by: huangjun <hjwsm1989@gmail.com>
src/tools/rest_bench.cc

index 1da0775973a4863928520bc25738b02880117c26..5369a76f1eefea2487ca9aad87d93eae30c44186 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;