Skip to content

Commit f82ae44

Browse files
committed
remove confusing comment
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
1 parent 3d03d7a commit f82ae44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/cli/pkg/action/attestation_init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func (action *AttestationInit) Run(ctx context.Context, opts *AttestationInitRun
234234
if !action.dryRun && attestationID != "" {
235235
connectionCloserFn, err := getCASBackend(ctx, client, attestationID, action.casCAPath, action.casURI, action.connectionInsecure, action.Logger, casBackend)
236236
if err != nil {
237-
// This should never happen in lenient mode, but handle it just in case
237+
// We don't want to fail the attestation initialization if CAS setup fails, it's a best-effort feature for PR/MR metadata
238238
action.Logger.Warn().Err(err).Msg("unexpected error getting CAS backend")
239239
}
240240
if connectionCloserFn != nil {

0 commit comments

Comments
 (0)