src/rgw/setup/rgw.py
def _remove_rgw_config(conf: MappedConf, config_index:str, config_key: str):
        """Remove specific key from rgw config file."""
        for rgw_config_key, confstore_key in const.SVC_CONFIG_DICT.items():
            if confstore_key == config_key:
                Conf.delete(config_index, f'{const.CLIENT_SECTION}>{rgw_config_key}')
        Conf.save(config_index)
Remove specific key from rgw config file.
Remove specific key from rgw config file.
Remove specific key from rgw config file .
def _remove_rgw_config(conf: MappedConf, config_index:str, config_key: str):
        for rgw_config_key, confstore_key in const.SVC_CONFIG_DICT.items():
            if confstore_key == config_key:
                Conf.delete(config_index, f'{const.CLIENT_SECTION}>{rgw_config_key}')
        Conf.save(config_index)
def _remove_rgw_config ( conf : MappedConf , config_index : str , config_key : str ) : for rgw_config_key , confstore_key in const . SVC_CONFIG_DICT . items ( ) : if confstore_key == config_key : Conf . delete ( config_index , f'{const.CLIENT_SECTION}>{rgw_config_key}' ) Conf . save ( config_index )
Remove specific key from rgw config file.
Remove specific key from rgw config file .
"""Remove specific key from rgw config file."""
conf
MappedConf
config_index
str
config_key
str