From 2b88f567329296ca3c185097691e05a11d2e5680 Mon Sep 17 00:00:00 2001 From: Ganga Mahesh Siddem Date: Thu, 29 Jun 2023 18:37:14 -0700 Subject: [PATCH] fix lint issues --- .../partner_extensions/ContainerInsights.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/k8s-extension/azext_k8s_extension/partner_extensions/ContainerInsights.py b/src/k8s-extension/azext_k8s_extension/partner_extensions/ContainerInsights.py index c5eb11d37fb..6c1fc99a251 100644 --- a/src/k8s-extension/azext_k8s_extension/partner_extensions/ContainerInsights.py +++ b/src/k8s-extension/azext_k8s_extension/partner_extensions/ContainerInsights.py @@ -682,9 +682,9 @@ def _ensure_container_insights_dcr_for_monitoring(cmd, subscription_id, cluster_ existing_tags = get_existing_container_insights_extension_dcr_tags(cmd, dcr_url) streams = ["Microsoft-ContainerInsights-Group-Default"] if extensionSettings is not None and 'dataCollectionSettings' in extensionSettings.keys(): - dataCollectionSettings = extensionSettings["dataCollectionSettings"] - if dataCollectionSettings is not None and 'streams' in dataCollectionSettings.keys(): - streams = dataCollectionSettings["streams"] + dataCollectionSettings = extensionSettings["dataCollectionSettings"] + if dataCollectionSettings is not None and 'streams' in dataCollectionSettings.keys(): + streams = dataCollectionSettings["streams"] # create the DCR dcr_creation_body = json.dumps(