Skip to content

Commit

Permalink
Fix PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-hujia committed Jul 31, 2023
1 parent c3b736a commit 246ce45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 246ce45

Please sign in to comment.