]> git.ipfire.org Git - pakfire.git/commitdiff
job: Rename the configuration attribute in message
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Jan 2025 15:04:49 +0000 (15:04 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Jan 2025 15:04:49 +0000 (15:04 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/job.c

index ef714cff639497c04897fbf4ffcf66481a97aa15..18ce8c7648696b8da994c64be969593a31d96954 100644 (file)
@@ -185,7 +185,7 @@ static int pakfire_parse_job(struct pakfire_job* job, json_object* data) {
        }
 
        // Fetch the configuration
-       if (!json_object_object_get_ex(data, "conf", &o)) {
+       if (!json_object_object_get_ex(data, "config", &o)) {
                ERROR(job->ctx, "Job does not have a configuration\n");
 
                return -EINVAL;