From db9e2a4880e8fc61defacc66ae758fd01e60b424 Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Sun, 5 Apr 2020 15:48:31 +0300 Subject: [PATCH] Fix linter errors --- distbuild/pkg/worker/job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }