]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
radosgw-admin: relam set can use input redirection
authorOrit Wasserman <owasserm@redhat.com>
Sun, 1 Jan 2017 10:40:37 +0000 (12:40 +0200)
committerOrit Wasserman <owasserm@redhat.com>
Sun, 8 Jan 2017 10:15:35 +0000 (12:15 +0200)
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
src/rgw/rgw_admin.cc

index c44d0220d7f59c66be22124adc8ce8d8a6bd6fc1..672bb3f7a116e92481d21caef9aefa94e070c683 100644 (file)
@@ -3103,10 +3103,6 @@ int main(int argc, char **argv)
          cerr << "no realm name or id provided" << std::endl;
          return EINVAL;
        }
-        if (infile.empty()) {
-         cerr << "no realm input file provided" << std::endl;
-         return EINVAL;
-        }
        RGWRealm realm(realm_id, realm_name);
        bool new_realm = false;
        int ret = realm.init(g_ceph_context, store);