Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit
b8b3ae3be3f8e4c05cb23062d25c701b15900475)
Conflicts:
src/rgw/rgw_admin.cc ("return EINVAL" in master, "return -EINVAL" in
jewel; but it's irrelevant because the whole block is deleted)
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);