Switch to a newer version of the nettest container.

This commit is contained in:
Brendan Burns
2015-05-12 10:26:37 -07:00
parent 237f0cf1e8
commit 46be5482d0
3 changed files with 5 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
all: push
TAG = 1.1
# Set this to the *next* version to prevent accidentally overwriting the existing image.
TAG = 1.4
webserver: webserver.go
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' ./webserver.go

View File

@@ -206,9 +206,9 @@ func contactOthers(state *State) {
masterRO := url.URL{
Scheme: "http",
Host: os.Getenv("KUBERNETES_RO_SERVICE_HOST") + ":" + os.Getenv("KUBERNETES_RO_SERVICE_PORT"),
Path: "/api/v1beta1",
Path: "/api/" + latest.Version,
}
client := &client.Client{client.NewRESTClient(&masterRO, "v1beta1", latest.Codec, true, 5, 10)}
client := &client.Client{client.NewRESTClient(&masterRO, latest.Version, latest.Codec, false, 5, 10)}
// Do this repeatedly, in case there's some propagation delay with getting
// newly started pods into the endpoints list.