We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d340fb commit 7b398eeCopy full SHA for 7b398ee
src/node_config_file.cc
@@ -48,13 +48,13 @@ ParseResult ConfigReader::ProcessOptionValue(
48
case options_parser::OptionType::kBoolean: {
49
bool result;
50
if (ondemand_value.get_bool().get(result)) {
51
- FPrintF(stderr, "Invalid value for %s\n", it->first.c_str());
+ FPrintF(stderr, "Invalid value for %s\n", option_name.c_str());
52
return ParseResult::InvalidContent;
53
}
54
55
if (result) {
56
// If the value is true, we need to set the flag
57
- node_options_.push_back(it->first);
+ node_options_.push_back(option_name);
58
59
60
break;
0 commit comments