Fix linter errors

This commit is contained in:
Fedor Korotkiy 2020-04-05 15:48:31 +03:00
parent 3476778243
commit db9e2a4880

View file

@ -169,7 +169,7 @@ func (w *Worker) runJob(ctx context.Context, spec *api.JobSpec) (*api.JobResult,
return nil, err return nil, err
} }
if err := w.downloadArtifacts(ctx, spec.Artifacts); err != nil { if err = w.downloadArtifacts(ctx, spec.Artifacts); err != nil {
return nil, err return nil, err
} }