Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: remove goroutine (#5483)
ecmadaoc994cc977c55
diff --git a/backend/runner/metricreport/reporter.go b/backend/runner/metricreport/reporter.goindex 88d3346316..1607a8ead1 100644--- a/backend/runner/metricreport/reporter.go+++ b/backend/runner/metricreport/reporter.go@@ -204,12 +204,10 @@ func (m *Reporter) identify(ctx context.Context) (string, error) {// Report will report a metric.func (m *Reporter) Report(ctx context.Context, metric *metric.Metric) {- go func() {- workspaceID, err := m.getWorkspaceID(ctx)- if err != nil {- log.Error("failed to find the workspace id", zap.Error(err))- return- }- m.reportMetric(workspaceID, metric)- }()+ workspaceID, err := m.getWorkspaceID(ctx)+ if err != nil {+ log.Error("failed to find the workspace id", zap.Error(err))+ return+ }+ m.reportMetric(workspaceID, metric)}