Skip to content

Commit 05dd3ca

Browse files
author
Christine WANJAU
committed
update AZURE APPCONFIG FEATURE MANAGEMENT COMPATIBLE TO default to False
1 parent 441a32d commit 05dd3ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/azure-cli/azure/cli/command_modules/appconfig/_diff_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def serialize(obj):
158158
# State property doesn't make sense in feature flag version 2 schema beacuse of the added properties - variants, allocation, telemetry
159159
# The State property only exists in the CLI, we should move to showing enabled property instead as the other clients
160160
# As we move to showing the enabled property, we will show the state property in the CLI only if compatibility mode is true
161-
env_compatibility_mode = os.environ.get("AZURE_APPCONFIG_FM_COMPATIBLE", True)
161+
env_compatibility_mode = os.environ.get("AZURE_APPCONFIG_FM_COMPATIBLE", False)
162162
compatibility_mode = str(env_compatibility_mode).lower() == "true"
163163

164164
feature = map_keyvalue_to_featureflag(obj, hide_enabled=compatibility_mode)

src/azure-cli/azure/cli/command_modules/appconfig/_kv_export_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def __export_features(retrieved_features, naming_convention):
184184
)
185185
feature_flags_keyword = FeatureFlagConstants.FEATURE_FLAGS_KEY
186186
try:
187-
env_compatibility_mode = os.environ.get("AZURE_APPCONFIG_FM_COMPATIBLE", True)
187+
env_compatibility_mode = os.environ.get("AZURE_APPCONFIG_FM_COMPATIBLE", False)
188188
compatibility_mode = str(env_compatibility_mode).lower() == "true"
189189
if compatibility_mode:
190190
feature_reserved_keywords = FeatureManagementReservedKeywords.get_keywords(

0 commit comments

Comments
 (0)