Skip to content

Commit

Permalink
Update Instance+Activation.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinha610 authored Jul 30, 2024
1 parent a0cfb96 commit c216636
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fun FeaturevisorInstance.activate(featureKey: FeatureKey, context: Context = emp
val finalContext = interceptContext?.invoke(context) ?: context
val captureContext = mutableMapOf<String, AttributeValue>()
val attributesForCapturing = datafileReader.getAllAttributes()
.filter { it.capture == true }
.filter { it.value.capture == true }

attributesForCapturing.forEach { attribute ->
finalContext[attribute.key]?.let {
Expand Down

0 comments on commit c216636

Please sign in to comment.