cleaning up

mine
derailed 2020-08-01 10:51:25 -06:00
parent b67db8c2c8
commit 4c9baecda6
1 changed files with 5 additions and 4 deletions

View File

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