Skip to content

Commit ab22c6e

Browse files
committed
Update _featuremanagerbase.py
1 parent 1021dad commit ab22c6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

featuremanagement/_featuremanagerbase.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ def _get_feature_flag(configuration: Mapping[str, Any], feature_flag_name: str)
4040
feature_flags = feature_management.get(FEATURE_FLAG_KEY)
4141
if not feature_flags or not isinstance(feature_flags, list):
4242
return None
43-
43+
4444
index = len(feature_flags) - 1
45-
45+
4646
while index >= 0:
4747
if feature_flags[index].get("id") == feature_flag_name:
4848
return FeatureFlag.convert_from_json(feature_flags[index])

0 commit comments

Comments
 (0)