diff --git a/.golangci.yml b/.golangci.yml index ff3ea376f54..0bd8ef36992 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -63,4 +63,6 @@ linters: issues: exclude: - - Error return value of .*log\.Logger\)\.Log\x60 is not checked \ No newline at end of file + - 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 \ No newline at end of file diff --git a/pkg/util/test/req.go b/pkg/util/test/req.go index 6bfad594df2..1175ac4c443 100644 --- a/pkg/util/test/req.go +++ b/pkg/util/test/req.go @@ -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{