Merge pull request #94910 from yashvardhan-kukreja/issue-94602/fix-comment-declaration-event

Cleaned up: the potentially misleading comment under Event struct
This commit is contained in:
Kubernetes Prow Robot
2020-10-05 06:23:06 -07:00
committed by GitHub
7 changed files with 20 additions and 28 deletions

View File

@@ -10898,7 +10898,7 @@
"description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.",
"properties": {
"action": {
"description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters.",
"description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.",
"type": "string"
},
"apiVersion": {
@@ -10938,7 +10938,7 @@
"type": "string"
},
"reason": {
"description": "reason is why the action was taken. It is human-readable. This field can have at most 128 characters.",
"description": "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.",
"type": "string"
},
"regarding": {
@@ -10962,11 +10962,12 @@
"description": "series is data about the Event series this event represents or nil if it's a singleton Event."
},
"type": {
"description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable.",
"description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.",
"type": "string"
}
},
"required": [
"metadata",
"eventTime"
],
"type": "object",
@@ -11105,6 +11106,7 @@
}
},
"required": [
"metadata",
"eventTime"
],
"type": "object",