Skip to content

Commit

Permalink
removed arm resourceid from telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash Keshari committed May 13, 2020
1 parent 1ef6cdd commit c1612c2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/connectedk8s/azext_connectedk8s/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c1612c2

Please sign in to comment.