From c1612c2416af5b109c0f2a9cff55199bef8755da Mon Sep 17 00:00:00 2001 From: Akash Keshari Date: Wed, 13 May 2020 14:41:16 +0530 Subject: [PATCH] removed arm resourceid from telemetry --- src/connectedk8s/azext_connectedk8s/custom.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/connectedk8s/azext_connectedk8s/custom.py b/src/connectedk8s/azext_connectedk8s/custom.py index 4f2464a499d..382357541f5 100644 --- a/src/connectedk8s/azext_connectedk8s/custom.py +++ b/src/connectedk8s/azext_connectedk8s/custom.py @@ -72,10 +72,6 @@ def create_connectedk8s(cmd, client, resource_group_name, cluster_name, location # Setting subscription id subscription_id = get_subscription_id(cmd.cli_ctx) - # Setting resource Id - resource_id = "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Kubernetes/connectedClusters/{}".format(subscription_id, resource_group_name, cluster_name) - telemetry.add_extension_event('connectedk8s', {'Context.Default.AzureCLI.ResourceId': resource_id}) - # Setting user profile profile = Profile(cli_ctx=cmd.cli_ctx)