Skip to content

Commit

Permalink
fix: test and build
Browse files Browse the repository at this point in the history
  • Loading branch information
bgiori committed Jan 25, 2024
1 parent d692980 commit cab54f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/LocalEvaluationClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class LocalEvaluationClient internal constructor(

@JvmOverloads
fun evaluateV2(user: ExperimentUser, flagKeys: Set<String> = setOf()): Map<String, Variant> {
val flagConfigs = flagConfigService.getFlagConfigs().toList()
val flagConfigs = flagConfigService.getFlagConfigs().toMap()
val sortedFlagConfigs = topologicalSort(flagConfigs, flagKeys)
if (sortedFlagConfigs.isEmpty()) {
return mapOf()
Expand Down
1 change: 1 addition & 0 deletions src/test/kotlin/assignment/AssignmentServiceTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class AssignmentServiceTest {
metadata = mapOf(
"segmentName" to "All Other Users",
"flagVersion" to 12,
"default" to true,
)
),
)
Expand Down

0 comments on commit cab54f5

Please sign in to comment.