You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-23 21:44:44 +02:00
Weakly decode backend options (#4577)
This commit is contained in:
@@ -16,6 +16,6 @@ func parseBackendOptions(step *backend.Step) (BackendOptions, error) {
|
||||
if step == nil || step.BackendOptions == nil {
|
||||
return result, nil
|
||||
}
|
||||
err := mapstructure.Decode(step.BackendOptions[EngineName], &result)
|
||||
err := mapstructure.WeakDecode(step.BackendOptions[EngineName], &result)
|
||||
return result, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user