mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
Fix linter comments
This commit is contained in:
parent
f7ef3d4aa1
commit
99384fce4f
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
func WriteHumanReadableState(w http.ResponseWriter, r *http.Request, rws map[string]*Aggregators) {
|
||||
rwActive := r.FormValue("rw")
|
||||
if rwActive == "" {
|
||||
for key, _ := range rws {
|
||||
for key := range rws {
|
||||
rwActive = key
|
||||
break
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ const DEFAULT_LIMIT = 1000
|
|||
<h1>Aggregations</h1>
|
||||
<hr />
|
||||
<ul class="nav nav-tabs" id="rw-tab" role="tablist">
|
||||
{% for rwKey, _ := range rws %}
|
||||
{% for rwKey := range rws %}
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link{%if rwKey==rwActive %}{% space %}active{%endif%}" type="button" role="tab"
|
||||
onclick="location.href='?rw={%s rwKey %}'">
|
||||
|
|
|
@ -43,7 +43,7 @@ func StreamStreamAggHTML(qw422016 *qt422016.Writer, rws map[string]*Aggregators,
|
|||
//line lib/streamaggr/state.qtpl:24
|
||||
qw422016.N().S(`<div class="container-fluid"><div class="row"><main class="col-12"><h1>Aggregations</h1><hr /><ul class="nav nav-tabs" id="rw-tab" role="tablist">`)
|
||||
//line lib/streamaggr/state.qtpl:31
|
||||
for rwKey, _ := range rws {
|
||||
for rwKey := range rws {
|
||||
//line lib/streamaggr/state.qtpl:31
|
||||
qw422016.N().S(`<li class="nav-item" role="presentation"><button class="nav-link`)
|
||||
//line lib/streamaggr/state.qtpl:33
|
||||
|
|
Loading…
Reference in a new issue