Skip to content

Commit 81964ca

Browse files
korydraughnalanking
authored andcommitted
[irods/irods#6137] Updated for variable renaming.
1 parent 35a3bfd commit 81964ca

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

irods_rule_engine_plugin-python.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -392,16 +392,16 @@ irods::error start(irods::default_re_ctx&, const std::string& _instance_name)
392392
ms_table["py_remote"] = new irods::ms_table_entry("py_remote", 4, std::function<int(msParam_t*, msParam_t*, msParam_t*, msParam_t*, ruleExecInfo_t*)>( remote_exec_msvc ) );
393393

394394
try {
395-
const auto& re_plugin_arr = irods::get_server_property< const nlohmann::json& >( std::vector< std::string >{ irods::CFG_PLUGIN_CONFIGURATION_KW, irods::PLUGIN_TYPE_RULE_ENGINE } );
395+
const auto& re_plugin_arr = irods::get_server_property< const nlohmann::json& >( std::vector< std::string >{ irods::KW_CFG_PLUGIN_CONFIGURATION, irods::KW_CFG_PLUGIN_TYPE_RULE_ENGINE } );
396396
for ( const auto& plugin_config : re_plugin_arr ) {
397-
const auto& inst_name = plugin_config.at( irods::CFG_INSTANCE_NAME_KW ).get_ref< const std::string& >();
397+
const auto& inst_name = plugin_config.at( irods::KW_CFG_INSTANCE_NAME).get_ref< const std::string& >();
398398
if ( inst_name == _instance_name ) {
399-
const auto& plugin_spec_cfg = plugin_config.at( irods::CFG_PLUGIN_SPECIFIC_CONFIGURATION_KW );
399+
const auto& plugin_spec_cfg = plugin_config.at( irods::KW_CFG_PLUGIN_SPECIFIC_CONFIGURATION);
400400

401401
// TODO Enable non core.py Python rulebases
402402

403-
if ( plugin_spec_cfg.count( irods::CFG_RE_PEP_REGEX_SET_KW ) ) {
404-
register_regexes_from_array( plugin_spec_cfg.at( irods::CFG_RE_PEP_REGEX_SET_KW ),
403+
if ( plugin_spec_cfg.count( irods::KW_CFG_RE_PEP_REGEX_SET) ) {
404+
register_regexes_from_array( plugin_spec_cfg.at( irods::KW_CFG_RE_PEP_REGEX_SET),
405405
_instance_name );
406406
} else {
407407
RuleExistsHelper::Instance()->registerRuleRegex( STATIC_PEP_RULE_REGEX );

0 commit comments

Comments
 (0)