1
0
mirror of https://gitea.com/gitea/act synced 2026-05-01 01:27:48 +02:00

unchecked error

This commit is contained in:
Casey Lee
2020-02-21 08:42:00 -08:00
parent 418b0db047
commit 2cb276ca05

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