Skip to content

Commit

Permalink
remove unsed fields from checker struct
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 committed Sep 9, 2019
1 parent c54e843 commit cb39f59
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions pkg/skaffold/deploy/status_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -77,12 +75,10 @@ func StatusCheck(ctx context.Context, defaultLabeller *DefaultLabeller, runCtx *
syncMap := &sync.Map{}

checker := &Checker{
context: ctx,
runCtx: runCtx,
labeller: defaultLabeller,
client: kubectl.NewFromRunContext(runCtx),
out: out,
numDeps: len(dMap),
context: ctx,
out: out,
client: kubectl.NewFromRunContext(runCtx),
numDeps: len(dMap),
}

for dName, deadlineDuration := range dMap {
Expand Down

0 comments on commit cb39f59

Please sign in to comment.