Merge pull request #5611 from RainbowMango/pr_update_work_api_comments
Correct SuspendDispatching comments and add notes.
This commit is contained in:
commit
8906ec0097
|
@ -19847,7 +19847,7 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"suspendDispatching": {
|
||||
"description": "SuspendDispatching controls whether dispatching should be suspended, nil means not suspend. Note: true means stop propagating to all clusters.",
|
||||
"description": "SuspendDispatching controls whether dispatching should be suspended, nil means not suspend. Note: true means stop propagating to the corresponding member cluster, and does not prevent status collection.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"workload": {
|
||||
|
|
|
@ -65,7 +65,8 @@ spec:
|
|||
description: |-
|
||||
SuspendDispatching controls whether dispatching should
|
||||
be suspended, nil means not suspend.
|
||||
Note: true means stop propagating to all clusters.
|
||||
Note: true means stop propagating to the corresponding member cluster, and
|
||||
does not prevent status collection.
|
||||
type: boolean
|
||||
workload:
|
||||
description: Workload represents the manifest workload to be deployed
|
||||
|
|
|
@ -60,7 +60,8 @@ type WorkSpec struct {
|
|||
|
||||
// SuspendDispatching controls whether dispatching should
|
||||
// be suspended, nil means not suspend.
|
||||
// Note: true means stop propagating to all clusters.
|
||||
// Note: true means stop propagating to the corresponding member cluster, and
|
||||
// does not prevent status collection.
|
||||
// +optional
|
||||
SuspendDispatching *bool `json:"suspendDispatching,omitempty"`
|
||||
|
||||
|
|
|
@ -6530,7 +6530,7 @@ func schema_pkg_apis_work_v1alpha1_WorkSpec(ref common.ReferenceCallback) common
|
|||
},
|
||||
"suspendDispatching": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "SuspendDispatching controls whether dispatching should be suspended, nil means not suspend. Note: true means stop propagating to all clusters.",
|
||||
Description: "SuspendDispatching controls whether dispatching should be suspended, nil means not suspend. Note: true means stop propagating to the corresponding member cluster, and does not prevent status collection.",
|
||||
Type: []string{"boolean"},
|
||||
Format: "",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue