remove unsed fields from checker struct
@@ -51,9 +51,7 @@ var (
type Checker struct {
context context.Context
- runCtx *runcontext.RunContext
out io.Writer
- labeller *DefaultLabeller
client *kubectl.CLI
numDeps int
processedDeps int32
@@ -78,10 +76,8 @@ func StatusCheck(ctx context.Context, defaultLabeller *DefaultLabeller, runCtx *
checker := &Checker{
context: ctx,
- runCtx: runCtx,
- labeller: defaultLabeller,
- client: kubectl.NewFromRunContext(runCtx),
out: out,
+ client: kubectl.NewFromRunContext(runCtx),
numDeps: len(dMap),
}
