mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
unchecked error
This commit is contained in:
parent
10296e05c7
commit
63d10ccd96
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…
Add table
Add a link
Reference in a new issue