Merge pull request #34140 from yuwata/conf-parser-log-message

conf-parser: introduce log_syntax_parse_error() and use it
This commit is contained in:
Yu Watanabe
2024-09-03 08:20:07 +09:00
committed by GitHub
44 changed files with 449 additions and 488 deletions
+2 -2
View File
@@ -377,10 +377,10 @@ static int config_parse_resource_path(
return free_and_replace(rr->path, resolved);
}
static DEFINE_CONFIG_PARSE_ENUM(config_parse_resource_type, resource_type, ResourceType, "Invalid resource type");
static DEFINE_CONFIG_PARSE_ENUM(config_parse_resource_type, resource_type, ResourceType);
static DEFINE_CONFIG_PARSE_ENUM_WITH_DEFAULT(config_parse_resource_path_relto, path_relative_to, PathRelativeTo,
PATH_RELATIVE_TO_ROOT, "Invalid PathRelativeTo= value");
PATH_RELATIVE_TO_ROOT);
static int config_parse_resource_ptype(
const char *unit,