Skip to content

Commit

Permalink
update: rename variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
shalousun committed Mar 25, 2023
1 parent 376d36e commit 420e229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/protocol/converter/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@ func convertLogToMap(log *protocol.Log, logTags []*protocol.LogTag, src, topic s
}
}
}
hostIpTag := &protocol.LogTag{
hostIPTag := &protocol.LogTag{
Key: tagHostIP,
Value: src,
}
logTags = append(logTags, hostIpTag)
logTags = append(logTags, hostIPTag)
if topic != "" {
topicTag := &protocol.LogTag{
Key: tagLogTopic,
Expand Down

0 comments on commit 420e229

Please sign in to comment.