Signed-off-by: Casey Bodley <cbodley@redhat.com>
}
struct RGWProcessEnv {
- rgw::sal::Driver* driver;
- RGWREST *rest;
- OpsLogSink *olog;
+ rgw::sal::Driver* driver = nullptr;
+ RGWREST *rest = nullptr;
+ OpsLogSink *olog = nullptr;
std::string uri_prefix;
std::shared_ptr<rgw::auth::StrategyRegistry> auth_registry;
- //maybe there is a better place to driver the rate limit data structure
- ActiveRateLimiter* ratelimiting;
- rgw::lua::Background* lua_background;
+ ActiveRateLimiter* ratelimiting = nullptr;
+ rgw::lua::Background* lua_background = nullptr;
};
class RGWFrontendConfig;