Skip to content

Commit 560d7c8

Browse files
committed
lint
Signed-off-by: Sylwester Piskozub <sylwesterpiskozub@gmail.com>
1 parent d1068f2 commit 560d7c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controlplane/internal/service/attestation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func (s *AttestationService) Init(ctx context.Context, req *cpAPI.AttestationSer
180180
if biz.IsNotFound(err) {
181181
return nil, errors.NotFound("not found", "default CAS backend not found")
182182
} else if biz.IsErrValidation(err) {
183-
return nil, cpAPI.ErrorCasBackendErrorReasonInvalid(err.Error())
183+
return nil, err
184184
}
185185
return nil, fmt.Errorf("failed to find CAS backend: %w", err)
186186
}

0 commit comments

Comments
 (0)