Skip to content

Commit 6beb879

Browse files
authored
fix(integration): do not fail if can't delete associate credentials (#187)
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
1 parent 3e52722 commit 6beb879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controlplane/internal/biz/integration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func (uc *IntegrationUseCase) Delete(ctx context.Context, orgID, integrationID s
270270
if integration.SecretName != "" {
271271
uc.logger.Infow("msg", "deleting integration external secrets", "ID", integrationID, "secretName", integration.SecretName)
272272
if err := uc.credsRW.DeleteCredentials(ctx, integration.SecretName); err != nil {
273-
return fmt.Errorf("deleting the credentials: %w", err)
273+
uc.logger.Warnw("msg", "can't delete credentials", "name", integration.SecretName, "err", err)
274274
}
275275
}
276276

0 commit comments

Comments
 (0)