diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-05-04 16:25:43 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-05-23 14:30:51 +0200 |
commit | 456273b02474780537e2bb52a72213f63bb5227a (patch) | |
tree | 0ab2748bc922e4e6c3471f01c6277dc703d0da97 /job.c | |
parent | 1a90bc8128ee7d16ce4abb131961e37084d75b16 (diff) |
job: Add query-jobs QMP command
This adds a minimal query-jobs implementation that shouldn't pose many
design questions. It can later be extended to expose more information,
and especially job-specific information.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,7 +158,7 @@ static int job_txn_apply(JobTxn *txn, int fn(Job *), bool lock) return rc; } -static bool job_is_internal(Job *job) +bool job_is_internal(Job *job) { return (job->id == NULL); } |