]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: merge related fixes
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 3 Dec 2015 20:07:44 +0000 (12:07 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:41 +0000 (16:13 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_admin.cc

index b0c2369cb7699240384fb56283a068812e9a007f..63ebd03d55ee82910ee3e690f3d3c2a53e883cfc 100644 (file)
@@ -1303,7 +1303,8 @@ static int send_to_remote_gateway(const string& remote, req_info& info,
     }
     conn = iter->second;
   }
-  int ret = conn->forward("", info, NULL, MAX_REST_RESPONSE, &in_data, &response);
+  rgw_user user;
+  int ret = conn->forward(user, info, NULL, MAX_REST_RESPONSE, &in_data, &response);
   if (ret < 0) {
     return ret;
   }