Skip to content

Commit e7a55dc

Browse files
author
TPT
committed
feat(core): fixed variable name bug
Signed-off-by: TPT <terylt@ibm.com>
1 parent 0555a64 commit e7a55dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/policyengine/source/otel/contextualizer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (c *Contextualizer) AddRules(logs *ResourceLogs, rules ...policy.Rule[*Reso
6060
if kvTag == nil && len(attrs) > 0 {
6161
lastRecord := attrs[len(attrs)-1]
6262
if lastRecord.Key == "sf.processor.tags" {
63-
kvRule = lastRecord
63+
kvTag = lastRecord
6464
}
6565
}
6666

0 commit comments

Comments
 (0)