From b5ba419ad7d00ac65a4b07774a1c3acce30a7709 Mon Sep 17 00:00:00 2001 From: Chance Zibolski Date: Sun, 8 Sep 2024 15:59:47 -0700 Subject: [PATCH] config: Update pipeine.vars description Signed-off-by: Chance Zibolski --- pkg/config/config.go | 2 +- pkg/config/schema/schema.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 66a4ba3..7f6fc7e 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -152,7 +152,7 @@ type PipelineGenerator struct { Generator *Generator `yaml:"generator,omitempty" json:"generator,omitempty" jsonschema:"oneof_required=generator"` // Import is a value containing a pipeline to import Import *Value `yaml:"import,omitempty" json:"import,omitempty" jsonschema:"oneof_required=import"` - // Vars defines variables that the pipeline expects. + // Vars defines variables that the pipeline is providing to the sub-pipeline. Vars []NamedValue `yaml:"vars,omitempty" json:"vars,omitempty"` } diff --git a/pkg/config/schema/schema.json b/pkg/config/schema/schema.json index 0ee3aec..2757ed0 100644 --- a/pkg/config/schema/schema.json +++ b/pkg/config/schema/schema.json @@ -72,7 +72,7 @@ "$ref": "#/$defs/NamedValue" }, "type": "array", - "description": "Vars defines variables that the pipeline expects." + "description": "Vars defines variables that the pipeline is providing to the sub-pipeline." } }, "additionalProperties": false, @@ -598,7 +598,7 @@ "$ref": "#/$defs/NamedValue" }, "type": "array", - "description": "Vars defines variables that the pipeline expects." + "description": "Vars defines variables that the pipeline is providing to the sub-pipeline." } }, "additionalProperties": false,