Skip to content

Commit c4c0f99

Browse files
committed
feat: ISSUE-658 go-feature-flag sdk - return default value when not initialized
Signed-off-by: liran2000 <[email protected]>
1 parent 5f594e6 commit c4c0f99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: providers/go-feature-flag/src/main/java/dev/openfeature/contrib/providers/gofeatureflag/GoFeatureFlagProvider.java

+1
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ private <T> ProviderEvaluation<T> getEvaluation(
235235
return ProviderEvaluation.<T>builder()
236236
.errorCode(errorCode)
237237
.reason(errorCode.name())
238+
.value(defaultValue)
238239
.build();
239240
}
240241
ProviderEvaluation<T> res;

0 commit comments

Comments
 (0)