Change duplicate job status from 'error' to 'info'

This commit is contained in:
Oliver Gorwits
2021-09-08 20:19:56 +01:00
parent 3cf2a8a168
commit b38ceaaeeb
2 changed files with 7 additions and 1 deletions

View File

@@ -159,7 +159,7 @@ sub jq_getsome {
}],
],
}, {for => 'update'})
->update({ status => 'error', log => (sprintf 'duplicate of %s', $job->id) });
->update({ status => 'info', log => (sprintf 'duplicate of %s', $job->id) });
debug sprintf 'getsome: cancelled %s duplicate(s) of job %s', ($gone || 0), $job->id;
push @returned, App::Netdisco::Backend::Job->new({ $job->get_columns });