Skip to content

Commit

Permalink
Fix tmpl/prober.tmpl, now is prober.IsAlerting()
Browse files Browse the repository at this point in the history
  • Loading branch information
hkjn committed May 19, 2016
1 parent 97291c8 commit 3ba1960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmpl/prober.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<p class="bad">Disabled</p>
{{else}}
<p>{{$p.Desc}}</p>
<h3 {{with $p.Alerting}}class="bad"{{end}}>Badness: {{$p.Badness}}</h3>
<h3 {{with $p.IsAlerting}}class="bad"{{end}}>Badness: {{$p.Badness}}</h3>
{{range $j, $r := $p.Records }}
{{if $r.Result.Passed}}
<div class="probe_result good">
Expand Down

0 comments on commit 3ba1960

Please sign in to comment.