Skip to content

Commit 7f9f8d0

Browse files
Remove type check on pre reqs as MV flags do not evaluate correctly
1 parent 358be4a commit 7f9f8d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

featureflags/evaluations/evaluator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,7 @@ def _check_prerequisite(self, parent: FeatureConfig,
293293
log.info('Pre requisite flag %s should have the variations %s',
294294
config.feature, pqs.variations)
295295

296-
if isinstance(variation, Unset) and variation.identifier \
297-
not in pqs.variations:
296+
if variation.identifier not in pqs.variations:
298297
return False
299298
else:
300299
return self._check_prerequisite(config, target)

0 commit comments

Comments
 (0)