diff --git a/datamodel/low/v3/components.go b/datamodel/low/v3/components.go index a1f8e63..bcd9c08 100644 --- a/datamodel/low/v3/components.go +++ b/datamodel/low/v3/components.go @@ -43,6 +43,11 @@ type componentBuildResult[T any] struct { value low.ValueReference[T] } +type inputValue struct { + node *yaml.Node + currentLabel *yaml.Node +} + // GetExtensions returns all Components extensions and satisfies the low.HasExtensions interface. func (co *Components) GetExtensions() map[low.KeyReference[string]]low.ValueReference[any] { return co.Extensions @@ -229,11 +234,6 @@ func extractComponentValues[T low.Buildable[N], N any](label string, root *yaml. return emptyResult, fmt.Errorf("node is array, cannot be used in components: line %d, column %d", nodeValue.Line, nodeValue.Column) } - type inputValue struct { - node *yaml.Node - currentLabel *yaml.Node - } - ctx, cancel := context.WithCancel(context.Background()) defer cancel() in := make(chan inputValue)