Fix lint issues
This commit is contained in:
parent
1fed943b3d
commit
68f344233b
17 changed files with 33 additions and 34 deletions
|
|
@ -20,8 +20,8 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"k8s.io/klog"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"k8s.io/klog"
|
||||
|
||||
"k8s.io/apimachinery/pkg/util/sets"
|
||||
"k8s.io/ingress-nginx/internal/ingress"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ import (
|
|||
"regexp"
|
||||
"strconv"
|
||||
|
||||
"k8s.io/klog"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@ func (em BinaryNameMatcher) MatchAndName(nacl common.ProcAttributes) (bool, stri
|
|||
}
|
||||
|
||||
// String returns the name of the binary to match
|
||||
func (m BinaryNameMatcher) String() string {
|
||||
return fmt.Sprintf("%+v", m.Binary)
|
||||
func (em BinaryNameMatcher) String() string {
|
||||
return fmt.Sprintf("%+v", em.Binary)
|
||||
}
|
||||
|
||||
type namedProcessData struct {
|
||||
|
|
|
|||
|
|
@ -23,10 +23,10 @@ import (
|
|||
"net"
|
||||
"os"
|
||||
|
||||
"k8s.io/klog"
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"k8s.io/apimachinery/pkg/util/sets"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
type upstream struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue