Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit c46e477

Browse files
authored
fix: update default region for azure monitor metrics extension in mooncake (#289)
1 parent bb6d4b2 commit c46e477

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/k8s-extension/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Release History
44
===============
55

6+
1.6.4
7+
++++++++++++++++++
8+
* microsoft.azuremonitor.containers.metrics: Update default region for azure monitor metrics extension in mooncake
9+
610
1.6.3
711
++++++++++++++++++
812
* Do not attempt to register Microsoft.Monitor and Microsoft.Dashboard resource providers if they are already registered.

src/k8s-extension/azext_k8s_extension/partner_extensions/azuremonitormetrics/deaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def get_default_region(cmd):
99
cloud_name = cmd.cli_ctx.cloud.name
1010
if cloud_name.lower() == 'azurechinacloud':
11-
raise CLIError("Azure China Cloud is not supported for the Azure Monitor Metrics addon")
11+
return "chinanorth3"
1212
if cloud_name.lower() == 'azureusgovernment':
1313
return "usgovvirginia"
1414
return "eastus"

src/k8s-extension/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# TODO: Add any additional SDK dependencies here
3434
DEPENDENCIES = []
3535

36-
VERSION = "1.6.3"
36+
VERSION = "1.6.4"
3737

3838
with open("README.rst", "r", encoding="utf-8") as f:
3939
README = f.read()

0 commit comments

Comments
 (0)