From cece848fef53cef61c35058b4170e6503a8d9246 Mon Sep 17 00:00:00 2001 From: Leo Date: Sat, 29 Apr 2017 14:24:49 +0200 Subject: [PATCH] support for default_backend (#222) * support for setting a service to the default_backend rule * docs * renamed serviceDefaultBackend to isDefaultBackend * removed duplicate * fix * added integration test and changed env to IS_DEFAULT_BACKEND * moved test * Update integration_swarm_test.go --- integration_tests/integration_swarm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_tests/integration_swarm_test.go b/integration_tests/integration_swarm_test.go index 98195339..94ef56de 100644 --- a/integration_tests/integration_swarm_test.go +++ b/integration_tests/integration_swarm_test.go @@ -293,7 +293,7 @@ func (s IntegrationSwarmTestSuite) Test_ReconfigureFromEnvVars() { } func (s IntegrationSwarmTestSuite) Test_ReconfigureWithDefaultBackend() { - params := "serviceName=go-demo&servicePath=/xxx&port=8080" + params := "serviceName=go-demo&servicePath=/xxx&port=8080&isDefaultBackend=true" s.reconfigureService(params) resp, err := s.sendHelloRequest()