Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Elliott <[email protected]>
  • Loading branch information
joe-elliott committed Aug 31, 2020
1 parent e2997c9 commit 01da6f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,6 @@ linters:

issues:
exclude:
- Error return value of .*log\.Logger\)\.Log\x60 is not checked
- Error return value of .*log\.Logger\)\.Log\x60 is not checked
- package github.com/golang/protobuf/proto is deprecated
- package github.com/golang/protobuf/jsonpb is deprecated
2 changes: 1 addition & 1 deletion pkg/util/test/req.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func MakeRequest(spans int, traceID []byte) *tempopb.PushRequest {
var ils *opentelemetry_proto_trace_v1.InstrumentationLibrarySpans

for i := 0; i < spans; i++ {
// occassionaly make a new ils
// occasionally make a new ils
if ils == nil || rand.Int()%3 == 0 {
ils = &opentelemetry_proto_trace_v1.InstrumentationLibrarySpans{
InstrumentationLibrary: &v1.InstrumentationLibrary{
Expand Down

0 comments on commit 01da6f3

Please sign in to comment.