We're not necessarily going to connect to rgw/s3 endpoints,
we only need store param to handle s3 signing.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
endpoints(remote_endpoints.begin(), remote_endpoints.end()),
remote_id(_remote_id)
{
- key = store->get_zone_params().system_key;
- self_zone_group = store->get_zonegroup().get_id();
+ if (store) {
+ key = store->get_zone_params().system_key;
+ self_zone_group = store->get_zonegroup().get_id();
+ }
}
int RGWRESTConn::get_url(string& endpoint)