Skip to content

Commit

Permalink
Revert the change to promote the service for multicluster allocation (g…
Browse files Browse the repository at this point in the history
…oogleforgames#1001)

to v1, since it is still in active development.
  • Loading branch information
roberthbailey authored and markmandel committed Aug 15, 2019
1 parent b9d9b9d commit 6653caf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/allocator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func main() {
}

// TODO: add liveness probe
http.HandleFunc("/v1/gameserverallocation", h.postOnly(h.allocateHandler))
http.HandleFunc("/v1alpha1/gameserverallocation", h.postOnly(h.allocateHandler))

caCertPool, err := getCACertPool(certDir)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/allocator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func TestAllocator(t *testing.T) {
}

port := svc.Spec.Ports[0]
requestURL := fmt.Sprintf("https://%s:%d/v1/gameserverallocation", svc.Status.LoadBalancer.Ingress[0].IP, port.Port)
requestURL := fmt.Sprintf("https://%s:%d/v1alpha1/gameserverallocation", svc.Status.LoadBalancer.Ingress[0].IP, port.Port)

flt, err := createFleet()
if !assert.Nil(t, err) {
Expand Down

0 comments on commit 6653caf

Please sign in to comment.