Fix contrib webserver so that it compiles.

This commit is contained in:
Brendan Burns
2015-02-02 14:58:44 -08:00
parent ac2f435aca
commit 8bce2ef61c
2 changed files with 13 additions and 1 deletions

View File

@@ -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.