]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd/action/Info.cc
update sources to v12.1.3
[ceph.git] / ceph / src / tools / rbd / action / Info.cc
index d415c9a5859603e7c0e501b301aa626bf5cf7f4e..7944c0cf74ac34d9711f854edd92a9f75fa0230b 100644 (file)
@@ -130,16 +130,6 @@ static int do_show_info(librados::IoCtx &io_ctx, librbd::Image& image,
 
   std::string prefix = image.get_block_name_prefix();
 
-  librbd::group_spec_t group_spec;
-  r = image.get_group(&group_spec);
-  if (r < 0) {
-    return r;
-  }
-
-  std::string group_string = "";
-  if (-1 != group_spec.pool)
-    group_string = stringify(group_spec.pool) + "." + group_spec.name;
-
   struct timespec create_timestamp;
   image.get_create_timestamp(&create_timestamp);
 
@@ -189,15 +179,6 @@ static int do_show_info(librados::IoCtx &io_ctx, librbd::Image& image,
     format_flags(f, flags);
   }
 
-  if (!group_string.empty()) {
-    if (f) {
-      f->dump_string("group", group_string);
-    } else {
-      std::cout << "\tconsistency group: " << group_string
-               << std::endl;
-    }
-  }
-
   if (!create_timestamp_str.empty()) {
     if (f) {
       f->dump_string("create_timestamp", create_timestamp_str);