]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_admin: remove unused parent_period arg 8411/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 1 Apr 2016 12:40:12 +0000 (14:40 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 1 Apr 2016 12:41:58 +0000 (14:41 +0200)
This variable seems to be unused, removing from help and code

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t

index f85286f3ac66da7d457110523cf2399b74f942d1..69cde06fb0c0222a3e5e6e276961ce8328a1eb28 100644 (file)
@@ -184,7 +184,6 @@ void _usage()
   cout << "                               replica datalog get/delete\n";
   cout << "   --metadata-key=<key>      key to retrieve metadata from with metadata get\n";
   cout << "   --remote=<remote>         remote to pull period\n";
-  cout << "   --parent=<id>             parent period id\n";
   cout << "   --period=<id>             period id\n";
   cout << "   --epoch=<number>          period epoch\n";
   cout << "   --commit                  commit the period during 'period update'\n";
@@ -1934,7 +1933,7 @@ int main(int argc, char **argv)
   std::string date, subuser, access, format;
   std::string start_date, end_date;
   std::string key_type_str;
-  std::string period_id, period_epoch, remote, url, parent_period;
+  std::string period_id, period_epoch, remote, url;
   std::string master_zonegroup, master_zone;
   std::string realm_name, realm_id, realm_new_name;
   std::string zone_name, zone_id, zone_new_name;
@@ -2252,8 +2251,6 @@ int main(int argc, char **argv)
         cerr << "ERROR: invalid bucket index entry type" << std::endl;
         return EINVAL;
       }
-    } else if (ceph_argparse_witharg(args, i, &val, "--parent", (char*)NULL)) {
-      parent_period = val;
     } else if (ceph_argparse_binary_flag(args, i, &is_master_int, NULL, "--master", (char*)NULL)) {
       is_master = (bool)is_master_int;
       is_master_set = true;
index 37523c9af8ca08a72aa7329ccb40ed96bd4f3688..d2dc67a7e7a8a9dfdd07383b2ce376adf6dd1e63 100644 (file)
                                  replica datalog get/delete
      --metadata-key=<key>      key to retrieve metadata from with metadata get
      --remote=<remote>         remote to pull period
-     --parent=<id>             parent period id
      --period=<id>             period id
      --epoch=<number>          period epoch
      --commit                  commit the period during 'period update'