mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-02 17:50:39 +00:00
Fix for lint
This commit is contained in:
@@ -37,7 +37,8 @@ func dot(w io.Writer, t render.RenderableNodes) {
|
||||
func handleHTML(rpt report.Report) http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
logRequest("HTML", r)
|
||||
fmt.Fprintf(w, `<html><head></head><body><img src="/svg?%s" width="95%" height="95%"/></body></html>`, r.URL.RawQuery)
|
||||
format := `<html><head></head><body><center><img src="/svg?%s" style="margin:5%;"/></center></body></html>`
|
||||
fmt.Fprintf(w, format, r.URL.RawQuery)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user