Skip to content

Commit 486d25c

Browse files
carlosrodfernJoibel
authored andcommitted
docs: fix refs to stopStrategy.expression (argoproj#13896)
Signed-off-by: Carlos Rodriguez-Fernandez <[email protected]> (cherry picked from commit f73e7f9)
1 parent 6371f9b commit 486d25c

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

api/jsonschema/schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/openapi-spec/swagger.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/cron-workflows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ The second will not run because of the `when` expression, which prevents this wo
149149

150150
> v3.6 and after
151151

152-
You can configure a `CronWorkflow` to automatically stop based on an [expression](variables.md#expression) with `stopStrategy.condition`.
153-
You can use the [variables](variables.md#cronworkflows) `cronworkflow.failed` and `cronworkflow.succeede2d`.
152+
You can configure a `CronWorkflow` to automatically stop based on an [expression](variables.md#expression) with `stopStrategy.expression`.
153+
You can use the [variables](variables.md#cronworkflows) `cronworkflow.failed` and `cronworkflow.succeeded`.
154154

155155
For example, if you want to stop scheduling new workflows after one success:
156156

docs/fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ CronWorkflowStatus is the status of a CronWorkflow
13141314
|`conditions`|`Array<`[`Condition`](#condition)`>`|Conditions is a list of conditions the CronWorkflow may have|
13151315
|`failed`|`integer`|v3.6 and after: Failed counts how many times child workflows failed|
13161316
|`lastScheduledTime`|[`Time`](#time)|LastScheduleTime is the last time the CronWorkflow was scheduled|
1317-
|`phase`|`string`|v3.6 and after: Phase is an enum of Active or Stopped. It changes to Stopped when stopStrategy.condition is true|
1317+
|`phase`|`string`|v3.6 and after: Phase is an enum of Active or Stopped. It changes to Stopped when stopStrategy.expression is true|
13181318
|`succeeded`|`integer`|v3.6 and after: Succeeded counts how many times child workflows succeeded|
13191319

13201320
## WorkflowEventBindingSpec

pkg/apis/workflow/v1alpha1/cron_workflow_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ type CronWorkflowStatus struct {
9090
Succeeded int64 `json:"succeeded" protobuf:"varint,4,rep,name=succeeded"`
9191
// v3.6 and after: Failed counts how many times child workflows failed
9292
Failed int64 `json:"failed" protobuf:"varint,5,rep,name=failed"`
93-
// v3.6 and after: Phase is an enum of Active or Stopped. It changes to Stopped when stopStrategy.condition is true
93+
// v3.6 and after: Phase is an enum of Active or Stopped. It changes to Stopped when stopStrategy.expression is true
9494
Phase CronWorkflowPhase `json:"phase" protobuf:"varint,6,rep,name=phase"`
9595
}
9696

pkg/apis/workflow/v1alpha1/generated.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/workflow/v1alpha1/openapi_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/java/client/docs/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_cron_workflow_status.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/python/client/docs/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)