mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-03 14:51:38 +00:00
@@ -66,7 +66,7 @@ type (
|
||||
// UnmarshalYAML implements the Unmarshaler interface.
|
||||
func (c *Containers) UnmarshalYAML(value *yaml.Node) error {
|
||||
switch value.Kind {
|
||||
// We support mapps ...
|
||||
// We support maps ...
|
||||
case yaml.MappingNode:
|
||||
c.Containers = make([]*Container, 0, len(value.Content)/2+1)
|
||||
// We cannot use decode on specific values
|
||||
|
Reference in New Issue
Block a user