diff --git a/distbuild/pkg/worker/job.go b/distbuild/pkg/worker/job.go index c8f2b48..12ba144 100644 --- a/distbuild/pkg/worker/job.go +++ b/distbuild/pkg/worker/job.go @@ -169,7 +169,7 @@ func (w *Worker) runJob(ctx context.Context, spec *api.JobSpec) (*api.JobResult, return nil, err } - if err := w.downloadArtifacts(ctx, spec.Artifacts); err != nil { + if err = w.downloadArtifacts(ctx, spec.Artifacts); err != nil { return nil, err }