@@ -85,18 +85,18 @@ var _ = SIGDescribe("Events", func() {
85
85
gomega .Expect (len (pods .Items )).To (gomega .Equal (1 ))
86
86
87
87
ginkgo .By ("retrieving the pod" )
88
- podWithUid , err := podClient .Get (pod .Name , metav1.GetOptions {})
88
+ podWithUID , err := podClient .Get (pod .Name , metav1.GetOptions {})
89
89
if err != nil {
90
90
framework .Failf ("Failed to get pod: %v" , err )
91
91
}
92
- e2elog .Logf ("%+v\n " , podWithUid )
92
+ e2elog .Logf ("%+v\n " , podWithUID )
93
93
var events * v1.EventList
94
94
// Check for scheduler event about the pod.
95
95
ginkgo .By ("checking for scheduler event about the pod" )
96
96
framework .ExpectNoError (wait .Poll (time .Second * 2 , time .Second * 60 , func () (bool , error ) {
97
97
selector := fields.Set {
98
98
"involvedObject.kind" : "Pod" ,
99
- "involvedObject.uid" : string (podWithUid .UID ),
99
+ "involvedObject.uid" : string (podWithUID .UID ),
100
100
"involvedObject.namespace" : f .Namespace .Name ,
101
101
"source" : v1 .DefaultSchedulerName ,
102
102
}.AsSelector ().String ()
@@ -115,7 +115,7 @@ var _ = SIGDescribe("Events", func() {
115
115
ginkgo .By ("checking for kubelet event about the pod" )
116
116
framework .ExpectNoError (wait .Poll (time .Second * 2 , time .Second * 60 , func () (bool , error ) {
117
117
selector := fields.Set {
118
- "involvedObject.uid" : string (podWithUid .UID ),
118
+ "involvedObject.uid" : string (podWithUID .UID ),
119
119
"involvedObject.kind" : "Pod" ,
120
120
"involvedObject.namespace" : f .Namespace .Name ,
121
121
"source" : "kubelet" ,
0 commit comments