• John Snow's avatar
    jobs: canonize Error object · 3d1f8b07
    John Snow authored
    Jobs presently use both an Error object in the case of the create job,
    and char strings in the case of generic errors elsewhere.
    Unify the two paths as just j->err, and remove the extra argument from
    job_completed. The integer error code for job_completed is kept for now,
    to be removed shortly in a separate patch.
    Signed-off-by: 's avatarJohn Snow <jsnow@redhat.com>
    Message-id: 20180830015734.19765-3-jsnow@redhat.com
    [mreitz: Dropped a superfluous g_strdup()]
    Reviewed-by: 's avatarEric Blake <eblake@redhat.com>
    Signed-off-by: 's avatarMax Reitz <mreitz@redhat.com>