From e79e551d8db7e57d87a31de673924a8de1514d9e Mon Sep 17 00:00:00 2001 From: Or Friedmann Date: Wed, 6 May 2020 14:27:13 +0300 Subject: [PATCH] rgw: unable to compile fcgi frontend Although we are not supporting this frontend it is still possible with cmake to compile it This fix is intend to be able to compile fcgi Signed-off-by: Or Friedmann --- src/rgw/rgw_fcgi_process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_fcgi_process.cc b/src/rgw/rgw_fcgi_process.cc index 6bb1102526951..452868a29c448 100644 --- a/src/rgw/rgw_fcgi_process.cc +++ b/src/rgw/rgw_fcgi_process.cc @@ -89,7 +89,7 @@ void RGWFCGXProcess::run() } for (;;) { - RGWFCGXRequest* req = new RGWFCGXRequest(store->get_new_req_id(), &qr); + RGWFCGXRequest* req = new RGWFCGXRequest(store->getRados()->get_new_req_id(), &qr); dout(10) << "allocated request req=" << hex << req << dec << dendl; req_throttle.get(1); int ret = FCGX_Accept_r(req->fcgx); -- 2.39.5