Skip to content

Commit

Permalink
radosgw-admin: relam set can use input redirection
Browse files Browse the repository at this point in the history
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
  • Loading branch information
oritwas committed Jan 8, 2017
1 parent e23339c commit b8b3ae3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/rgw/rgw_admin.cc
Expand Up @@ -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);
Expand Down

0 comments on commit b8b3ae3

Please sign in to comment.