Fix typo: type -> eventtype

Kubernetes-commit: 53083ea6aa9817f130b15efaf8ccc2d0c59c4be3
This commit is contained in:
bells17 2019-10-21 17:15:44 +09:00 committed by Kubernetes Publisher
parent 33115b49ac
commit 21f4308ca2

View File

@ -92,7 +92,7 @@ type EventRecorder interface {
// Event constructs an event from the given information and puts it in the queue for sending.
// 'object' is the object this event is about. Event will make a reference-- or you may also
// pass a reference to the object directly.
// 'type' of this event, and can be one of Normal, Warning. New types could be added in future
// 'eventtype' of this event, and can be one of Normal, Warning. New types could be added in future
// 'reason' is the reason this event is generated. 'reason' should be short and unique; it
// should be in UpperCamelCase format (starting with a capital letter). "reason" will be used
// to automate handling of events, so imagine people writing switch statements to handle them.