From 246ce455caae06da566a39d9fa54afd9b473e6ef Mon Sep 17 00:00:00 2001 From: Huiren Jiang Date: Wed, 19 Jul 2023 07:22:00 +0800 Subject: [PATCH] Fix PR comments --- .../partner_extensions/AzureMonitorMetrics.py | 4 ++-- .../partner_extensions/ContainerInsights.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/k8s-extension/azext_k8s_extension/partner_extensions/AzureMonitorMetrics.py b/src/k8s-extension/azext_k8s_extension/partner_extensions/AzureMonitorMetrics.py index 7dd3145edd8..dc89e2b6050 100644 --- a/src/k8s-extension/azext_k8s_extension/partner_extensions/AzureMonitorMetrics.py +++ b/src/k8s-extension/azext_k8s_extension/partner_extensions/AzureMonitorMetrics.py @@ -60,7 +60,7 @@ def Create(self, cmd, client, resource_group_name, cluster_name, name, cluster_t cluster_type ) else: - logger.info("Provisioning to prerequisites is skipped") + logger.info("Provisioning of prerequisites is skipped") create_identity = True extension = Extension( @@ -83,7 +83,7 @@ def Delete(self, cmd, client, resource_group_name, cluster_name, name, cluster_t if (extension is not None) and (extension.configuration_settings is not None): if is_skip_prerequisites_specified(extension.configuration_settings): - logger.info("Deprovisioning to prerequisites is skipped") + logger.info("Deprovisioning of prerequisites is skipped") return cluster_subscription = get_subscription_id(cmd.cli_ctx) 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 6fe1fc17715..9f8e5b067ae 100644 --- a/src/k8s-extension/azext_k8s_extension/partner_extensions/ContainerInsights.py +++ b/src/k8s-extension/azext_k8s_extension/partner_extensions/ContainerInsights.py @@ -64,7 +64,7 @@ def Create(self, cmd, client, resource_group_name, cluster_name, name, cluster_t _get_container_insights_settings(cmd, resource_group_name, cluster_rp, cluster_type, cluster_name, configuration_settings, configuration_protected_settings, is_ci_extension_type) else: - logger.info("Provisioning to prerequisites is skipped") + logger.info("Provisioning of prerequisites is skipped") # NOTE-2: Return a valid Extension object, Instance name and flag for Identity create_identity = True @@ -91,7 +91,7 @@ def Delete(self, cmd, client, resource_group_name, cluster_name, name, cluster_t if (extension is not None) and (extension.configuration_settings is not None): if is_skip_prerequisites_specified(extension.configuration_settings): - logger.info("Deprovisioning to prerequisites is skipped") + logger.info("Deprovisioning of prerequisites is skipped") return subscription_id = get_subscription_id(cmd.cli_ctx)