cmd/osbuild-worker: dnf-json returns MarkingErrors (plural)
This commit is contained in:
parent
c64eb98011
commit
318a4525c6
3 changed files with 5 additions and 5 deletions
|
|
@ -697,7 +697,7 @@ func generateManifest(ctx context.Context, cancel context.CancelFunc, workers *w
|
|||
}
|
||||
|
||||
if jobErr := depsolveResults.JobError; jobErr != nil {
|
||||
if jobErr.ID == clienterrors.ErrorDNFDepsolveError || jobErr.ID == clienterrors.ErrorDNFMarkingError {
|
||||
if jobErr.ID == clienterrors.ErrorDNFDepsolveError || jobErr.ID == clienterrors.ErrorDNFMarkingErrors {
|
||||
jobResult.JobError = clienterrors.WorkerClientError(clienterrors.ErrorDepsolveDependency, "Error in depsolve job dependency input, bad package set requested")
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue