From 05ca1309a0ef04dd391fde88bdbcb79e399c8b6d Mon Sep 17 00:00:00 2001 From: Adrien Thebo Date: Fri, 24 Jun 2022 20:25:26 +0000 Subject: [PATCH] [installation-telemetry] Respect `sendCustomerID` admin setting An errant `git rebase` accidentally merged in the customer ID into telemetry data, bypassing a later check in telemetry collection that checked the `sendCustomerID` field. This commit restores the appropriate check. --- .../server/src/installation-admin/telemetry-data-provider.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/components/server/src/installation-admin/telemetry-data-provider.ts b/components/server/src/installation-admin/telemetry-data-provider.ts index 5647931e5360b5..3525bd82fcdde6 100644 --- a/components/server/src/installation-admin/telemetry-data-provider.ts +++ b/components/server/src/installation-admin/telemetry-data-provider.ts @@ -27,7 +27,6 @@ export class InstallationAdminTelemetryDataProvider { totalWorkspaces: await this.workspaceDb.getWorkspaceCount(), totalInstances: await this.workspaceDb.getInstanceCount(), licenseType: this.licenseEvaluator.getLicenseData().type, - customerID: this.licenseEvaluator.getLicenseData().payload.customerID, } as TelemetryData; if (data.installationAdmin.settings.sendCustomerID) {