Skip to content

Commit

Permalink
Use Consul service address for consul access
Browse files Browse the repository at this point in the history
  • Loading branch information
joakiboxxx committed Oct 17, 2018
1 parent f0c24c1 commit cab3eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/front.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func main() {
}

func getbackendservers() (s servers, err error) {
r, err := http.Get("http://consul.sre-testing.com:8500/v1/catalog/service/backend")
r, err := http.Get("http://consul.service.consul:8500/v1/catalog/service/backend")
if err != nil {
return
}
Expand Down

0 comments on commit cab3eba

Please sign in to comment.