unchecked error
This commit is contained in:
parent
418b0db047
commit
2cb276ca05
1 changed files with 2 additions and 2 deletions
|
@ -109,13 +109,13 @@ func (rc *RunContext) Executor() common.Executor {
|
||||||
nullLogger := logrus.New()
|
nullLogger := logrus.New()
|
||||||
nullLogger.Out = ioutil.Discard
|
nullLogger.Out = ioutil.Discard
|
||||||
if !rc.Config.ReuseContainers {
|
if !rc.Config.ReuseContainers {
|
||||||
rc.newContainerCleaner()(common.WithLogger(ctx, nullLogger))
|
_ = rc.newContainerCleaner()(common.WithLogger(ctx, nullLogger))
|
||||||
}
|
}
|
||||||
|
|
||||||
err := common.NewPipelineExecutor(steps...)(ctx)
|
err := common.NewPipelineExecutor(steps...)(ctx)
|
||||||
|
|
||||||
if !rc.Config.ReuseContainers {
|
if !rc.Config.ReuseContainers {
|
||||||
rc.newContainerCleaner()(common.WithLogger(ctx, nullLogger))
|
_ = rc.newContainerCleaner()(common.WithLogger(ctx, nullLogger))
|
||||||
}
|
}
|
||||||
|
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue