mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 22:53:22 +00:00
Making all operations synchronous
This commit is contained in:
@@ -135,7 +135,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 {
|
||||
|
@@ -61,7 +61,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