mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
Merge pull request #3707 from nikhiljindal/preOperations
Removing support for asynchronous server requests
This commit is contained in:
@@ -136,7 +136,6 @@ func startComponents(manifestURL string) (apiServerURL string) {
|
||||
|
||||
cl := client.NewOrDie(&client.Config{Host: apiServer.URL, Version: testapi.Version()})
|
||||
cl.PollPeriod = time.Millisecond * 100
|
||||
cl.Sync = true
|
||||
|
||||
helper, err := master.NewEtcdHelper(etcdClient, "")
|
||||
if err != nil {
|
||||
|
@@ -62,7 +62,6 @@ func newApiClient(addr string, port int) *client.Client {
|
||||
apiServerURL := fmt.Sprintf("http://%s:%d", addr, port)
|
||||
cl := client.NewOrDie(&client.Config{Host: apiServerURL, Version: testapi.Version()})
|
||||
cl.PollPeriod = time.Second * 1
|
||||
cl.Sync = true
|
||||
return cl
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user