Skip to content

Commit

Permalink
clean code add debug log info
Browse files Browse the repository at this point in the history
  • Loading branch information
yunlzheng committed May 7, 2017
1 parent 8da3658 commit e9003cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ func main() {
}

for job, pool := range pools.pools {
fmt.Println("job %s", job)
for _, endpoint := range pool {
fmt.Println(endpoint, "<<<endpoint")
fmt.Print(fmt.Sprintf("job: %s endpoint: %s health: %s LastScrape: %s\n", job, endpoint.URL(), endpoint.Health(), endpoint.LastScrape()))
}
}

Expand Down

0 comments on commit e9003cf

Please sign in to comment.