Skip to content

Commit

Permalink
fix linter check
Browse files Browse the repository at this point in the history
  • Loading branch information
mallow111 committed Oct 11, 2021
1 parent 9a055b4 commit 8022fb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func main() {
}

namespaces := opts.Namespaces.GetNamespaces(opts.Namespaces)
//TODO(mallow111): use real namespace filter by calling GetExcludeNSFieldSelector(opts.NamespacesDenylist)
// TODO(mallow111): use real namespace filter by calling GetExcludeNSFieldSelector(opts.NamespacesDenylist)
storeBuilder.WithNamespaces(namespaces, "")

allowDenyList, err := allowdenylist.New(opts.MetricAllowlist, opts.MetricDenylist)
Expand Down
3 changes: 2 additions & 1 deletion pkg/options/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ package options

import (
"errors"
"k8s.io/apimachinery/pkg/fields"
"sort"
"strings"

"k8s.io/apimachinery/pkg/fields"

"k8s.io/klog/v2"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down

0 comments on commit 8022fb0

Please sign in to comment.