mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-05 16:00:04 +00: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