Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def serialize(obj):
# State property doesn't make sense in feature flag version 2 schema beacuse of the added properties - variants, allocation, telemetry
# The State property only exists in the CLI, we should move to showing enabled property instead as the other clients
# As we move to showing the enabled property, we will show the state property in the CLI only if compatibility mode is true
env_compatibility_mode = os.environ.get("AZURE_APPCONFIG_FM_COMPATIBLE", True)
env_compatibility_mode = os.environ.get("AZURE_APPCONFIG_FM_COMPATIBLE", False)
compatibility_mode = str(env_compatibility_mode).lower() == "true"

feature = map_keyvalue_to_featureflag(obj, hide_enabled=compatibility_mode)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def __export_features(retrieved_features, naming_convention):
)
feature_flags_keyword = FeatureFlagConstants.FEATURE_FLAGS_KEY
try:
env_compatibility_mode = os.environ.get("AZURE_APPCONFIG_FM_COMPATIBLE", True)
env_compatibility_mode = os.environ.get("AZURE_APPCONFIG_FM_COMPATIBLE", False)
compatibility_mode = str(env_compatibility_mode).lower() == "true"
if compatibility_mode:
feature_reserved_keywords = FeatureManagementReservedKeywords.get_keywords(
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

185,075 changes: 93,461 additions & 91,614 deletions ...li/azure/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_feature.yaml

Large diffs are not rendered by default.

146,677 changes: 74,097 additions & 72,580 deletions ...e/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_feature_filter.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading
Loading