Skip to content

Commit 273b781

Browse files
Merge pull request #37 from harness/FFM-3668
FFM-3667 - Remove type check on pre req check as MV flags do not evaluate correctly
2 parents 358be4a + b33c8cb commit 273b781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

featureflags/evaluations/evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +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 \
296+
if not isinstance(variation, Unset) and variation.identifier \
297297
not in pqs.variations:
298298
return False
299299
else:

0 commit comments

Comments
 (0)