mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
radosgw-admin: relam set can use input redirection
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
This commit is contained in:
parent
e23339c9ef
commit
b8b3ae3be3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user