Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: no cancel for CreateAuditLog (#11996)
p0ny39e53f468f5c
diff --git a/backend/api/v1/audit.go b/backend/api/v1/audit.goindex 8d51824f51..509893e395 100644--- a/backend/api/v1/audit.go+++ b/backend/api/v1/audit.go@@ -72,6 +72,7 @@ func (in *AuditInterceptor) AuditInterceptor(ctx context.Context, request any, s}}+ createAuditLogCtx := context.WithoutCancel(ctx)for _, parent := range parents {p := &storepb.AuditLog{Parent: parent,@@ -83,7 +84,7 @@ func (in *AuditInterceptor) AuditInterceptor(ctx context.Context, request any, sResponse: responseString,Status: st.Proto(),}- if err := in.store.CreateAuditLog(ctx, p); err != nil {+ if err := in.store.CreateAuditLog(createAuditLogCtx, p); err != nil {return errors.Wrapf(err, "failed to create audit log")}}