mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
Merge pull request #17129 from C2python/clear_para
rgw: Remove unused Parameter in Function RGWConf::init() Reviewed-by: Jos Collin <jcollin@redhat.com> Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
commit
1970d8fbc0
@ -385,7 +385,7 @@ class RGWEnv;
|
||||
class RGWConf {
|
||||
friend class RGWEnv;
|
||||
protected:
|
||||
void init(CephContext *cct, RGWEnv* env);
|
||||
void init(CephContext *cct);
|
||||
public:
|
||||
RGWConf()
|
||||
: enable_ops_log(1),
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
void RGWEnv::init(CephContext *cct)
|
||||
{
|
||||
conf.init(cct, this);
|
||||
conf.init(cct);
|
||||
}
|
||||
|
||||
void RGWEnv::set(const boost::string_ref& name, const boost::string_ref& val)
|
||||
@ -127,7 +127,7 @@ void RGWEnv::remove(const char *name)
|
||||
env_map.erase(iter);
|
||||
}
|
||||
|
||||
void RGWConf::init(CephContext *cct, RGWEnv *env)
|
||||
void RGWConf::init(CephContext *cct)
|
||||
{
|
||||
enable_ops_log = cct->_conf->rgw_enable_ops_log;
|
||||
enable_usage_log = cct->_conf->rgw_enable_usage_log;
|
||||
|
Loading…
Reference in New Issue
Block a user