Skip to content

Commit

Permalink
support for default_backend (#222)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Leo authored and vfarcic committed Apr 29, 2017
1 parent 260b589 commit cece848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/integration_swarm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit cece848

Please sign in to comment.