Skip to content

Commit

Permalink
fix for golangcli-lint. remove unnecessary converion
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavnajindal committed Nov 5, 2024
1 parent 92013aa commit 80def22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reporter/otlp_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ func addProfileAttributes[T string | int64](profile *profiles.Profile,
return
}
attributeCompositeKey = attr.key + "_" + strconv.Itoa(int(val))
attributeValue = common.AnyValue{Value: &common.AnyValue_IntValue{IntValue: int64(val)}}
attributeValue = common.AnyValue{Value: &common.AnyValue_IntValue{IntValue: val}}
default:
return
}
Expand Down

0 comments on commit 80def22

Please sign in to comment.