mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-15 06:39:00 +00:00
generated: run refactor
Kubernetes-commit: 3aa59f7f3077642592dc8a864fcef8ba98699894
This commit is contained in:
committed by
Kubernetes Publisher
parent
5be5d5753f
commit
60a0346672
@@ -237,10 +237,10 @@ func TestUntilWithSync(t *testing.T) {
|
||||
|
||||
return &cache.ListWatch{
|
||||
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
|
||||
return fakeclient.CoreV1().Secrets("").List(options)
|
||||
return fakeclient.CoreV1().Secrets("").List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
|
||||
return fakeclient.CoreV1().Secrets("").Watch(options)
|
||||
return fakeclient.CoreV1().Secrets("").Watch(context.TODO(), options)
|
||||
},
|
||||
}
|
||||
}(),
|
||||
@@ -267,10 +267,10 @@ func TestUntilWithSync(t *testing.T) {
|
||||
|
||||
return &cache.ListWatch{
|
||||
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
|
||||
return fakeclient.CoreV1().Secrets("").List(options)
|
||||
return fakeclient.CoreV1().Secrets("").List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
|
||||
return fakeclient.CoreV1().Secrets("").Watch(options)
|
||||
return fakeclient.CoreV1().Secrets("").Watch(context.TODO(), options)
|
||||
},
|
||||
}
|
||||
}(),
|
||||
|
Reference in New Issue
Block a user