was calling send_to_remote_gateway(), but passing 'url' instead of
'remote'. now uses send_to_remote_or_url() to accept either
Fixes: http://tracker.ceph.com/issues/15926
Signed-off-by: Casey Bodley <cbodley@redhat.com>
jf.flush(bl);
JSONParser p;
- ret = send_to_remote_gateway(url, info, bl, p);
+ ret = send_to_remote_or_url(remote, url, access_key, secret_key,
+ info, bl, p);
if (ret < 0) {
cerr << "request failed: " << cpp_strerror(-ret) << std::endl;
return ret;