From 4c9baecda682e7f4035b1130ce321a3785e9af6b Mon Sep 17 00:00:00 2001 From: derailed Date: Sat, 1 Aug 2020 10:51:25 -0600 Subject: [PATCH] cleaning up --- internal/dao/job.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/internal/dao/job.go b/internal/dao/job.go index 3c00f912..3fd35252 100644 --- a/internal/dao/job.go +++ b/internal/dao/job.go @@ -4,6 +4,7 @@ import ( "context" "errors" "fmt" + "github.com/derailed/k9s/internal" "github.com/derailed/k9s/internal/client" "github.com/rs/zerolog/log" @@ -45,11 +46,11 @@ func (j *Job) List(ctx context.Context, ns string) ([]runtime.Object, error) { continue } - for _, r := range j.ObjectMeta.OwnerReferences { - if r.Name == n { - ll = append(ll, o) - } + for _, r := range j.ObjectMeta.OwnerReferences { + if r.Name == n { + ll = append(ll, o) } + } } return ll, nil