Commit 1fbbc2b1 authored by Kevin Lyda's avatar Kevin Lyda 💬
Browse files

Use listen address from config.

parent 725e6dbb
Pipeline #1271 passed with stage
in 1 minute and 59 seconds
......@@ -40,5 +40,5 @@ func main() {
m := metrics.Register(gc)
go m.Gather()
log.Fatal(http.ListenAndServe(*addr, nil))
log.Fatal(http.ListenAndServe(c.ListenAddress, nil))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment