From 95d3cece501bc6b8cd08842303be6a5d3dc799eb Mon Sep 17 00:00:00 2001 From: zc Date: Sun, 3 Mar 2024 20:03:01 +0800 Subject: [PATCH] fix yaml tag --- pkg/api/core/v1/workflow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/core/v1/workflow.go b/pkg/api/core/v1/workflow.go index d068571..e1e1ee5 100644 --- a/pkg/api/core/v1/workflow.go +++ b/pkg/api/core/v1/workflow.go @@ -34,7 +34,7 @@ func (w *Workflow) Worker() *Worker { type WorkflowSpec struct { Steps []Flow `json:"steps" yaml:"steps"` WorkingDir string `json:"workingDir,omitempty" yaml:"workingDir,omitempty"` - Concurrency int `json:"concurrency,omitempty" yaml:"concurrency,5omitempty"` + Concurrency int `json:"concurrency,omitempty" yaml:"concurrency,omitempty"` Volumes []Volume `json:"volumes,omitempty" yaml:"volumes,omitempty"` DependsOn []string `json:"dependsOn,omitempty" yaml:"dependsOn,omitempty"` ImagePullSecrets []string `json:"imagePullSecrets,omitempty" yaml:"imagePullSecrets,omitempty"`