lib/promscrape: add missing whitespace at /targets page before up word

This commit is contained in:
Aliaksandr Valialkin 2021-07-26 12:22:48 +03:00
parent fcaf152480
commit 1318736ad1
2 changed files with 3 additions and 1 deletions

View file

@ -6,7 +6,7 @@
{% func TargetsResponsePlain(jts []jobTargetsStatuses, emptyJobs []string, showOriginLabels bool) %}
{% for _, js := range jts %}
job={%q= js.job %} ({%d js.upCount %}/{%d js.targetsTotal %} up)
job={%q= js.job %} ({%d js.upCount %}/{%d js.targetsTotal %}{% space %}up)
{% newline %}
{% for _, ts := range js.targetsStatus %}
{% code

View file

@ -36,6 +36,8 @@ func StreamTargetsResponsePlain(qw422016 *qt422016.Writer, jts []jobTargetsStatu
qw422016.N().S(`/`)
//line lib/promscrape/targets_response.qtpl:9
qw422016.N().D(js.targetsTotal)
//line lib/promscrape/targets_response.qtpl:9
qw422016.N().S(` `)
//line lib/promscrape/targets_response.qtpl:9
qw422016.N().S(`up)`)
//line lib/promscrape/targets_response.qtpl:10