Skip to content

Commit

Permalink
Configured domain not recognized in mesos_master module
Browse files Browse the repository at this point in the history
  • Loading branch information
wndhydrnt committed Feb 17, 2015
1 parent f10cdee commit e8b4921
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mesos_master/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (m *MesosMasterServiceGenerator) Generate() ([]types.Service, error) {
}

service := types.Service{
Domain: "mesos-master",
Domain: m.config.Domain,
Hosts: []types.Host{host},
Id: "/mesos-master",
Protocol: "tcp",
Expand Down
2 changes: 1 addition & 1 deletion mesos_master/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func TestShouldGenerateOneService(t *testing.T) {
domain := "mesos-master"
domain := "mesos.example.com"

ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if r.Method == "GET" && r.RequestURI == "/master/state.json" {
Expand Down

0 comments on commit e8b4921

Please sign in to comment.