unchecked error

This commit is contained in:
Casey Lee 2020-02-21 08:42:00 -08:00
parent 418b0db047
commit 2cb276ca05
No known key found for this signature in database
GPG key ID: 1899120ECD0A1784

View file

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