Merge pull request #50436 from dixudx/fix_Taint_type_comment

Automatic merge from submit-queue (batch tested with PRs 49129, 50436, 50417, 50553, 47587)

Fix Type Taint comment

**What this PR does / why we need it**:
remvoe redundant words in Type `Taint`.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:
/assign @k82cn 

**Release note**:

```release-note
None
```
This commit is contained in:
Kubernetes Submit Queue 2017-08-14 19:48:59 -07:00 committed by GitHub
commit 9ac6e4ae6f
7 changed files with 10 additions and 10 deletions

View File

@ -59994,7 +59994,7 @@
}
},
"io.k8s.api.core.v1.Taint": {
"description": "The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.",
"description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
"required": [
"key",
"effect"

View File

@ -18327,7 +18327,7 @@
},
"v1.Taint": {
"id": "v1.Taint",
"description": "The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.",
"description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
"required": [
"key",
"effect"

View File

@ -2143,7 +2143,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<div class="sect2">
<h3 id="_v1_taint">v1.Taint</h3>
<div class="paragraph">
<p>The node this Taint is attached to has the effect "effect" on any pod that that does not tolerate the Taint.</p>
<p>The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.</p>
</div>
<table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup>

View File

@ -2081,8 +2081,8 @@ type PreferredSchedulingTerm struct {
Preference NodeSelectorTerm
}
// The node this Taint is attached to has the effect "effect" on
// any pod that that does not tolerate the Taint.
// The node this Taint is attached to has the "effect" on
// any pod that does not tolerate the Taint.
type Taint struct {
// Required. The taint key to be applied to a node.
Key string

View File

@ -3884,8 +3884,8 @@ message TCPSocketAction {
optional string host = 2;
}
// The node this Taint is attached to has the effect "effect" on
// any pod that that does not tolerate the Taint.
// The node this Taint is attached to has the "effect" on
// any pod that does not tolerate the Taint.
message Taint {
// Required. The taint key to be applied to a node.
// +patchMergeKey=key

View File

@ -2299,8 +2299,8 @@ type PreferredSchedulingTerm struct {
Preference NodeSelectorTerm `json:"preference" protobuf:"bytes,2,opt,name=preference"`
}
// The node this Taint is attached to has the effect "effect" on
// any pod that that does not tolerate the Taint.
// The node this Taint is attached to has the "effect" on
// any pod that does not tolerate the Taint.
type Taint struct {
// Required. The taint key to be applied to a node.
// +patchMergeKey=key

View File

@ -1937,7 +1937,7 @@ func (TCPSocketAction) SwaggerDoc() map[string]string {
}
var map_Taint = map[string]string{
"": "The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.",
"": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
"key": "Required. The taint key to be applied to a node.",
"value": "Required. The taint value corresponding to the taint key.",
"effect": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.",