Fix lint issues

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-12-05 13:28:28 -03:00
parent 1fed943b3d
commit 68f344233b
17 changed files with 33 additions and 34 deletions

View file

@ -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"

View file

@ -23,8 +23,8 @@ import (
"regexp"
"strconv"
"k8s.io/klog"
"github.com/prometheus/client_golang/prometheus"
"k8s.io/klog"
)
var (

View file

@ -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 {

View file

@ -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 {