Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a small error comment in nodecondition type #19971

Merged
merged 1 commit into from
Jan 28, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/swagger-spec/v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -13560,7 +13560,7 @@
"properties": {
"type": {
"type": "string",
"description": "Type of node condition, currently only Ready."
"description": "Type of node condition."
},
"status": {
"type": "string",
Expand Down
4 changes: 2 additions & 2 deletions docs/api-reference/v1/definitions.html
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ <h3 id="_v1_nodecondition">v1.NodeCondition</h3>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">type</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Type of node condition, currently only Ready.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Type of node condition.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td>
Expand Down Expand Up @@ -7145,7 +7145,7 @@ <h3 id="_any">any</h3>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2016-01-18 17:24:26 UTC
Last updated 2016-01-22 02:17:17 UTC
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,7 @@ const (

// NodeCondition contains condition infromation for a node.
type NodeCondition struct {
// Type of node condition, currently only Ready.
// Type of node condition.
Type NodeConditionType `json:"type"`
// Status of the condition, one of True, False, Unknown.
Status ConditionStatus `json:"status"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/v1/types_swagger_doc_generated.go
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ func (NodeAddress) SwaggerDoc() map[string]string {

var map_NodeCondition = map[string]string{
"": "NodeCondition contains condition infromation for a node.",
"type": "Type of node condition, currently only Ready.",
"type": "Type of node condition.",
"status": "Status of the condition, one of True, False, Unknown.",
"lastHeartbeatTime": "Last time we got an update on a given condition.",
"lastTransitionTime": "Last time the condition transit from one status to another.",
Expand Down