mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Fix contrib webserver so that it compiles.
This commit is contained in:
@@ -206,7 +206,7 @@ func contactOthers(state *State) {
|
||||
Host: os.Getenv("KUBERNETES_RO_SERVICE_HOST") + ":" + os.Getenv("KUBERNETES_RO_SERVICE_PORT"),
|
||||
Path: "/api/v1beta1",
|
||||
}
|
||||
client := &client.Client{client.NewRESTClient(&masterRO, latest.Codec)}
|
||||
client := &client.Client{client.NewRESTClient(&masterRO, "v1beta1", latest.Codec, true)}
|
||||
|
||||
// Do this repeatedly, in case there's some propagation delay with getting
|
||||
// newly started pods into the endpoints list.
|
||||
|
Reference in New Issue
Block a user