Skip to content

Commit

Permalink
Revert taskref.go to a nolint.
Browse files Browse the repository at this point in the history
  • Loading branch information
bendory committed Mar 31, 2023
1 parent 6b73a73 commit c3d4b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconciler/taskrun/resources/taskref.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func GetVerifiedTaskFunc(ctx context.Context, k8s kubernetes.Interface, tekton c
source = s.URI
}
if err := trustedresources.VerifyTask(ctx, t, k8s, source, verificationpolicies); err != nil {
return nil, nil, fmt.Errorf("GetVerifiedTaskFunc failed: %w: %w", trustedresources.ErrResourceVerificationFailed, err)
return nil, nil, fmt.Errorf("GetVerifiedTaskFunc failed: %w: %v", trustedresources.ErrResourceVerificationFailed, err) // nolint:errorlint
}
return t, s, nil
}
Expand Down

0 comments on commit c3d4b0e

Please sign in to comment.