From d0e6566d6ff79358059ce1095e5c3eed9aec0765 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Fri, 17 Dec 2021 15:19:47 -0800 Subject: [PATCH] Typo --- sdk/core/azure-common/azure/common/cloud.py | 2 +- sdk/core/azure-common/azure/common/credentials.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/core/azure-common/azure/common/cloud.py b/sdk/core/azure-common/azure/common/cloud.py index f6dd230826ae..ec286e80af59 100644 --- a/sdk/core/azure-common/azure/common/cloud.py +++ b/sdk/core/azure-common/azure/common/cloud.py @@ -23,7 +23,7 @@ def get_cli_active_cloud(): except ImportError: raise ImportError( "The public API of azure-cli-core has been deprecated starting 2.21.0, " + - "and this method no longer can no longer return a cloud instance. " + + "and this method no longer can return a cloud instance. " + "If you want to use this method, you need to install 'azure-cli-core<2.21.0'. " + "You may corrupt data if you use current CLI and old azure-cli-core." ) diff --git a/sdk/core/azure-common/azure/common/credentials.py b/sdk/core/azure-common/azure/common/credentials.py index 1b9fb6668d5d..b653a096c353 100644 --- a/sdk/core/azure-common/azure/common/credentials.py +++ b/sdk/core/azure-common/azure/common/credentials.py @@ -137,7 +137,7 @@ def get_azure_cli_credentials(resource=None, with_tenant=False): if azure_cli_core_check_failed: raise NotImplementedError( "The public API of azure-cli-core has been deprecated starting 2.21.0, " + - "and this method can no longer return a valid credentials. " + + "and this method can no longer return a valid credential. " + "If you need to still use this method, you need to install 'azure-cli-core<2.21.0'. " + "You may corrupt data if you use current CLI and old azure-cli-core. " + "See also: https://aka.ms/azsdk/python/identity/migration"