mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-01 15:17:19 +00:00
generated: run refactor
Kubernetes-commit: 3aa59f7f3077642592dc8a864fcef8ba98699894
This commit is contained in:
committed by
Kubernetes Publisher
parent
5be5d5753f
commit
60a0346672
@@ -18,6 +18,7 @@ package kubernetes_test
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"testing"
|
||||
@@ -55,6 +56,6 @@ func TestListTimeout(t *testing.T) {
|
||||
realClient := kubernetes.New(restClient)
|
||||
|
||||
timeout := int64(21)
|
||||
realClient.AppsV1().DaemonSets("").List(metav1.ListOptions{TimeoutSeconds: &timeout})
|
||||
realClient.AppsV1().DaemonSets("").Watch(metav1.ListOptions{TimeoutSeconds: &timeout})
|
||||
realClient.AppsV1().DaemonSets("").List(context.TODO(), metav1.ListOptions{TimeoutSeconds: &timeout})
|
||||
realClient.AppsV1().DaemonSets("").Watch(context.TODO(), metav1.ListOptions{TimeoutSeconds: &timeout})
|
||||
}
|
||||
|
Reference in New Issue
Block a user