mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Remove CONDITION from event object completely
# *** ERROR: *** Some files have not been gofmt'd. To fix these # errors, run gofmt -s -w <file>, or cut and paste the following: # gofmt -s -w pkg/kubecfg/resource_printer.go pkg/proxy/config/config.go pkg/runtime/types.go # # Your commit will be aborted unless you override this warning. To # commit in spite of these format errors, delete the following line: # COMMIT_BLOCKED_ON_GOFMT
This commit is contained in:
@@ -63,7 +63,6 @@ func TestEventCreate(t *testing.T) {
|
||||
timeStamp := util.Now()
|
||||
event := &api.Event{
|
||||
//namespace: namespace{"default"},
|
||||
Condition: "Running",
|
||||
InvolvedObject: *objReference,
|
||||
Timestamp: timeStamp,
|
||||
}
|
||||
@@ -98,7 +97,6 @@ func TestEventGet(t *testing.T) {
|
||||
}
|
||||
timeStamp := util.Now()
|
||||
event := &api.Event{
|
||||
Condition: "Running",
|
||||
InvolvedObject: *objReference,
|
||||
Timestamp: timeStamp,
|
||||
}
|
||||
@@ -136,7 +134,6 @@ func TestEventList(t *testing.T) {
|
||||
eventList := &api.EventList{
|
||||
Items: []api.Event{
|
||||
{
|
||||
Condition: "Running",
|
||||
InvolvedObject: *objReference,
|
||||
Timestamp: timeStamp,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user