shared/verbs: add "project" field in introspection data
As raised in post-merge review for the addition of COMMAND, nothing in the data specified that the program is part of the systemd project.
This commit is contained in:
@@ -607,6 +607,7 @@ static int command_build_json(
|
||||
r = sd_json_buildo(
|
||||
ret,
|
||||
SD_JSON_BUILD_PAIR_VARIANT("names", names),
|
||||
SD_JSON_BUILD_PAIR_STRING("project", "systemd"),
|
||||
SD_JSON_BUILD_PAIR_STRING("version", PROJECT_VERSION_FULL),
|
||||
SD_JSON_BUILD_PAIR_STRV("features", features),
|
||||
SD_JSON_BUILD_PAIR_CONDITION(
|
||||
|
||||
Reference in New Issue
Block a user