From 8cbd2ac195e55b291c642534665663bde6101f73 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Wed, 26 Feb 2020 19:17:17 +0300 Subject: [PATCH] common/config: fix lack of normalize_key_name() apply. This is a fix to regression caused by: 224cafc56d2ffe16effb6ba3d230eb586ae8d595 In fact md_config_t::_get_val was lacking of proper normalize_key_name() call. Signed-off-by: Igor Fedotov --- src/common/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config.cc b/src/common/config.cc index d073192bc46..eb6b721e12e 100644 --- a/src/common/config.cc +++ b/src/common/config.cc @@ -1047,7 +1047,7 @@ Option::value_t md_config_t::_get_val( // In key names, leading and trailing whitespace are not significant. string k(ConfFile::normalize_key_name(key)); - const Option *o = find_option(key); + const Option *o = find_option(k); if (!o) { // not a valid config option return Option::value_t(boost::blank()); -- 2.39.5