]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd/action/ImageMeta.cc
import 14.2.4 nautilus point release
[ceph.git] / ceph / src / tools / rbd / action / ImageMeta.cc
index 1ea7413d154341ad774fab4eabc01671d832af83..20c4555dab588e7144f500b94247d00be8327d96 100644 (file)
@@ -256,7 +256,7 @@ int execute_set(const po::variables_map &vm,
     return r;
   }
 
-  std::string value = utils::get_positional_argument(vm, 2);
+  std::string value = utils::get_positional_argument(vm, arg_index);
   if (value.empty()) {
     std::cerr << "rbd: metadata value was not specified" << std::endl;
     return -EINVAL;