mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-18 15:12:57 +00:00
Let the backend engine report the current platform (#2688)
if you run woodpecker-agent on windows and connect it to an docker daemon, there could be two different platforms possible, as you can switch from linux to windows mode and visa versa --- *Sponsored by Kithara Software GmbH*
This commit is contained in:
@@ -216,7 +216,7 @@ func execWithAxis(c *cli.Context, file, repoPath string, axis matrix.Axis) error
|
||||
return err
|
||||
}
|
||||
|
||||
if err = engine.Load(backendCtx); err != nil {
|
||||
if _, err = engine.Load(backendCtx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user