From 33a7f7151ecc53ad7cf34f7ff80cae5da753d076 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 24 Feb 2025 18:31:43 +0100 Subject: [PATCH] - --- acceptance/telemetry/upload-skipped/script | 2 +- libs/telemetry/upload.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acceptance/telemetry/upload-skipped/script b/acceptance/telemetry/upload-skipped/script index 87c1f926d..a700f9eae 100644 --- a/acceptance/telemetry/upload-skipped/script +++ b/acceptance/telemetry/upload-skipped/script @@ -1,6 +1,6 @@ export DATABRICKS_CLI_TELEMETRY_PID_FILE=./telemetry.pid export DATABRICKS_CLI_TELEMETRY_UPLOAD_LOGS_FILE=./out.upload_process.txt -export DATABRICKS_CLI_TELEMETRY_DISABLE="true" +export DATABRICKS_CLI_DISABLE_TELEMETRY="true" trace $CLI selftest send-telemetry diff --git a/libs/telemetry/upload.go b/libs/telemetry/upload.go index a6e8e44c6..75ff3daa4 100644 --- a/libs/telemetry/upload.go +++ b/libs/telemetry/upload.go @@ -24,7 +24,7 @@ const ( // Environment variable to disable telemetry. If this is set to any value, telemetry // will be disabled. - DisableEnvVar = "DATABRICKS_CLI_TELEMETRY_DISABLE" + DisableEnvVar = "DATABRICKS_CLI_DISABLE_TELEMETRY" // Max time to try and upload the telemetry logs. Useful for testing. UploadTimeoutEnvVar = "DATABRICKS_CLI_TELEMETRY_UPLOAD_TIMEOUT"