Skip to content

Commit f685f05

Browse files
committed
fix linters
1 parent bfd18a2 commit f685f05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/skaffold/deploy/helm/deploy.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -436,19 +436,19 @@ func (h *Deployer) Render(ctx context.Context, out io.Writer, builds []graph.Art
436436
return manifest.Write(renderedManifests.String(), filepath, out)
437437
}
438438

439-
func (k *Deployer) PreDeployHooks(ctx context.Context, out io.Writer) error {
439+
func (h *Deployer) PreDeployHooks(ctx context.Context, out io.Writer) error {
440440
childCtx, endTrace := instrumentation.StartTrace(ctx, "Deploy_PreHooks")
441-
if err := k.hookRunner.RunPreHooks(childCtx, out); err != nil {
441+
if err := h.hookRunner.RunPreHooks(childCtx, out); err != nil {
442442
endTrace(instrumentation.TraceEndError(err))
443443
return err
444444
}
445445
endTrace()
446446
return nil
447447
}
448448

449-
func (k *Deployer) PostDeployHooks(ctx context.Context, out io.Writer) error {
449+
func (h *Deployer) PostDeployHooks(ctx context.Context, out io.Writer) error {
450450
childCtx, endTrace := instrumentation.StartTrace(ctx, "Deploy_PostHooks")
451-
if err := k.hookRunner.RunPostHooks(childCtx, out); err != nil {
451+
if err := h.hookRunner.RunPostHooks(childCtx, out); err != nil {
452452
endTrace(instrumentation.TraceEndError(err))
453453
return err
454454
}

0 commit comments

Comments
 (0)