mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-26 19:35:10 +00:00
chore: call close framework when finishing
Signed-off-by: googs1025 <googs1025@gmail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ func TestDefaultBinder(t *testing.T) {
|
||||
defer cancel()
|
||||
|
||||
var gotBinding *v1.Binding
|
||||
client := fake.NewSimpleClientset(testPod)
|
||||
client := fake.NewClientset(testPod)
|
||||
client.PrependReactor("create", "pods", func(action clienttesting.Action) (bool, runtime.Object, error) {
|
||||
if action.GetSubresource() != "binding" {
|
||||
return false, nil, nil
|
||||
|
||||
Reference in New Issue
Block a user