Skip to content

Commit

Permalink
cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed committed Apr 5, 2019
1 parent c0f2d28 commit 1010388
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/linter/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package linter

import (
"context"
"fmt"
"math"

"github.com/derailed/popeye/internal/k8s"
Expand Down Expand Up @@ -79,7 +78,7 @@ func (n *Node) fetchPodTolerations() tolerations {
if err != nil {
n.addIssuef("", ErrorLevel, "Unable to list all pods %s", err)
}
fmt.Println(len(pods))

for _, po := range pods {
for _, t := range po.Spec.Tolerations {
tt[mkKey(t.Key, t.Value)] = struct{}{}
Expand Down

0 comments on commit 1010388

Please sign in to comment.