cmd/osbuild-worker: dnf-json returns MarkingErrors (plural)

This commit is contained in:
Sanne Raymaekers 2022-02-25 10:33:24 +01:00 committed by Ondřej Budai
parent c64eb98011
commit 318a4525c6
3 changed files with 5 additions and 5 deletions

View file

@ -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
}