Skip to content

Commit

Permalink
Eliminating useless golint import
Browse files Browse the repository at this point in the history
golint has been deprecated and is no longer used in this repository. Eliminating the useless import in the tools.go.

Signed-off-by: rbroggi <ro_broggi@hotmail.com>
  • Loading branch information
rbroggi committed Oct 29, 2021
1 parent 8b7772e commit 519d5bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions pkg/es/wrapper/wrapper_nolint.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ package eswrapper

import "github.com/jaegertracing/jaeger/pkg/es"

// Some of the functions of elastic.BulkIndexRequest violate golint rules,
// e.g. Id() should be ID() and BodyJson() should be BodyJSON().

// Id calls this function to internal service.
func (i IndexServiceWrapper) Id(id string) es.IndexService {
return WrapESIndexService(i.bulkIndexReq.Id(id), i.bulkService, i.esVersion)
Expand Down
1 change: 0 additions & 1 deletion tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ import (
_ "github.com/securego/gosec/cmd/gosec"
_ "github.com/vektra/mockery/cmd/mockery"
_ "github.com/wadey/gocovmerge"
_ "golang.org/x/lint/golint"
)

0 comments on commit 519d5bb

Please sign in to comment.