Merge pull request #81359 from beautytiger/patch-9

v1beta1: bugfix in Event struct definition
This commit is contained in:
Kubernetes Prow Robot 2019-08-26 11:54:07 -07:00 committed by GitHub
commit 0d350d6e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -147,7 +147,6 @@ test/integration/ttlcontroller
test/integration/volume
test/integration/volumescheduling
test/utils
vendor/k8s.io/api/events/v1beta1
vendor/k8s.io/apiextensions-apiserver/pkg/apiserver
vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion
vendor/k8s.io/apiextensions-apiserver/pkg/apiserver/schema

View File

@ -43,11 +43,11 @@ type Event struct {
// ID of the controller instance, e.g. `kubelet-xyzf`.
// +optional
ReportingInstance string `json:"reportingInstance,omitemtpy" protobuf:"bytes,5,opt,name=reportingInstance"`
ReportingInstance string `json:"reportingInstance,omitempty" protobuf:"bytes,5,opt,name=reportingInstance"`
// What action was taken/failed regarding to the regarding object.
// +optional
Action string `json:"action,omitemtpy" protobuf:"bytes,6,name=action"`
Action string `json:"action,omitempty" protobuf:"bytes,6,name=action"`
// Why the action was taken.
Reason string `json:"reason,omitempty" protobuf:"bytes,7,name=reason"`