]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd/action/Pool.cc
import ceph quincy 17.2.4
[ceph.git] / ceph / src / tools / rbd / action / Pool.cc
index f1718eb1e1325a74bf5686dedc4b99f8c93fb32a..2ad8e17ff8e2488c25ac8076114517c512fd1f36 100644 (file)
@@ -29,7 +29,7 @@ int execute_init(const po::variables_map &vm,
                  const std::vector<std::string> &ceph_global_init_args) {
   std::string pool_name;
   size_t arg_index = 0;
-  int r = utils::get_pool_and_namespace_names(vm, true, false, &pool_name,
+  int r = utils::get_pool_and_namespace_names(vm, false, &pool_name,
                                               nullptr, &arg_index);
   if (r < 0) {
     return r;
@@ -68,7 +68,7 @@ int execute_stats(const po::variables_map &vm,
   std::string pool_name;
   std::string namespace_name;
   size_t arg_index = 0;
-  int r = utils::get_pool_and_namespace_names(vm, true, false, &pool_name,
+  int r = utils::get_pool_and_namespace_names(vm, false, &pool_name,
                                               &namespace_name, &arg_index);
   if (r < 0) {
     return r;