Skip to content
Snippets Groups Projects
Commit 135d2fc6 authored by ale's avatar ale
Browse files

oops, forgot ipToMetric on an IP metric

parent aaf49ec8
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ func (h *HttpRedirector) serveRelay(w http.ResponseWriter, r *http.Request) {
http.Error(w, "No active nodes", http.StatusServiceUnavailable)
return
}
httpTargetStats.IncrVar(relayAddr)
httpTargetStats.IncrVar(ipToMetric(relayAddr))
// Create the m3u response.
m3u := fmt.Sprintf("http://%s%s\n", makeIcecastUrl(relayAddr), mount.Name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment