]> git.ipfire.org Git - pakfire.git/commitdiff
job: Show what job we are connecting to
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Oct 2024 17:33:23 +0000 (17:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Oct 2024 17:33:23 +0000 (17:33 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/job.c

index 4ff2bfa460fab3963fe132ce5f23dbf11712d7f0..982ffabe988e475aa6c883db204b6c80400b02f6 100644 (file)
@@ -275,11 +275,11 @@ static int pakfire_job_connect(sd_event_source* s, uint64_t usec, void* data) {
        char job_id[UUID_STR_LEN];
        int r;
 
-       CTX_INFO(job->ctx, "Connecting...\n");
-
        // Format the job ID as string
        uuid_unparse(job->job_id, job_id);
 
+       CTX_INFO(job->ctx, "Connecting to job %s...\n", job_id);
+
        // Create a new xfer
        r = pakfire_httpclient_create_xfer(&xfer, job->client, "/api/v1/jobs/%s", job_id);
        if (r)