From 2cb276ca0517bd97675d893338c4bb3448b2a84d Mon Sep 17 00:00:00 2001 From: Casey Lee Date: Fri, 21 Feb 2020 08:42:00 -0800 Subject: [PATCH] unchecked error --- pkg/runner/run_context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/runner/run_context.go b/pkg/runner/run_context.go index 3465367..b2ff1e0 100644 --- a/pkg/runner/run_context.go +++ b/pkg/runner/run_context.go @@ -109,13 +109,13 @@ func (rc *RunContext) Executor() common.Executor { nullLogger := logrus.New() nullLogger.Out = ioutil.Discard if !rc.Config.ReuseContainers { - rc.newContainerCleaner()(common.WithLogger(ctx, nullLogger)) + _ = rc.newContainerCleaner()(common.WithLogger(ctx, nullLogger)) } err := common.NewPipelineExecutor(steps...)(ctx) if !rc.Config.ReuseContainers { - rc.newContainerCleaner()(common.WithLogger(ctx, nullLogger)) + _ = rc.newContainerCleaner()(common.WithLogger(ctx, nullLogger)) } return err