mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Code review changes
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
This commit is contained in:
parent
549214ca8c
commit
6a28f1995a
@ -680,9 +680,8 @@ func testCacherSendBookmarkEvents(t *testing.T, allowWatchBookmarks, expectedBoo
|
||||
resourceVersion := uint64(1000)
|
||||
go func() {
|
||||
deadline := time.Now().Add(time.Second)
|
||||
var err error
|
||||
for i := 0; time.Now().Before(deadline); i++ {
|
||||
err = cacher.watchCache.Add(&examplev1.Pod{
|
||||
err := cacher.watchCache.Add(&examplev1.Pod{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Name: fmt.Sprintf("pod-%d", i),
|
||||
Namespace: "ns",
|
||||
|
Loading…
Reference in New Issue
Block a user