Skip to content

Commit 4104dc6

Browse files
committed
Fix REASON-9: empty allocations waterfall returns DEFAULT not GENERAL
1 parent 9aedff2 commit 4104dc6

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • products/feature-flagging/feature-flagging-api/src/main/java/datadog/trace/api/openfeature

products/feature-flagging/feature-flagging-api/src/main/java/datadog/trace/api/openfeature/DDEvaluator.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,6 @@ public <T> ProviderEvaluation<T> evaluate(
101101
.build();
102102
}
103103

104-
if (isEmpty(flag.allocations)) {
105-
return error(defaultValue, ErrorCode.GENERAL, "Missing allocations for flag " + flag.key);
106-
}
107-
108104
final Date now = new Date();
109105
final String targetingKey = context.getTargetingKey();
110106

0 commit comments

Comments
 (0)