Skip to content

Commit

Permalink
docs: set schedule as deprecated in cron_workflow_types
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Gilgur <[email protected]>
Signed-off-by: Eduardo Rodrigues <[email protected]>
  • Loading branch information
eduardodbr and agilgur5 authored Sep 20, 2024
1 parent 5f0b978 commit 095575e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/workflow/v1alpha1/cron_workflow_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const annotationKeyLatestSchedule = workflow.CronWorkflowFullName + "/last-used-
type CronWorkflowSpec struct {
// WorkflowSpec is the spec of the workflow to be run
WorkflowSpec WorkflowSpec `json:"workflowSpec" protobuf:"bytes,1,opt,name=workflowSpec,casttype=WorkflowSpec"`
// Schedule is a schedule to run the Workflow in Cron format
// Schedule is a schedule to run the Workflow in Cron format. Deprecated, use Schedules
Schedule string `json:"schedule,omitempty" protobuf:"bytes,2,opt,name=schedule"`
// ConcurrencyPolicy is the K8s-style concurrency policy that will be used
ConcurrencyPolicy ConcurrencyPolicy `json:"concurrencyPolicy,omitempty" protobuf:"bytes,3,opt,name=concurrencyPolicy,casttype=ConcurrencyPolicy"`
Expand Down

0 comments on commit 095575e

Please sign in to comment.