Skip to content

Commit

Permalink
Some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joakiboxxx committed Oct 16, 2018
1 parent 1f2b689 commit 2e17327
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions front/front.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func main() {
}

func getbackendservers() (s servers, err error) {
// This is not exactly nice, but it gets the job done. Consul is contacted on the Nomad node's IP address which is exposed to Docker by Nomad
r, err := http.Get(fmt.Sprintf("http://%s:8500/v1/catalog/service/backend", os.Getenv("NOMAD_IP_frontend")))
if err != nil {
return
Expand Down

0 comments on commit 2e17327

Please sign in to comment.