mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-23 12:44:05 -08:00
manager: add full stops on comments
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
156dcb8cca
commit
e079c9ed45
|
@ -743,7 +743,7 @@ func (g *Group) RestoreForState(ts time.Time) {
|
|||
|
||||
}
|
||||
|
||||
// Equals return if two groups are the same
|
||||
// Equals return if two groups are the same.
|
||||
func (g *Group) Equals(ng *Group) bool {
|
||||
if g.name != ng.name {
|
||||
return false
|
||||
|
|
|
@ -742,7 +742,7 @@ func TestUpdate(t *testing.T) {
|
|||
ogs[h] = g
|
||||
}
|
||||
|
||||
// Update interval and reload
|
||||
// Update interval and reload.
|
||||
for i, g := range rgs.Groups {
|
||||
if g.Interval != 0 {
|
||||
rgs.Groups[i].Interval = g.Interval * 2
|
||||
|
@ -753,7 +753,7 @@ func TestUpdate(t *testing.T) {
|
|||
}
|
||||
reloadAndValidate(rgs, t, tmpFile, ruleManager, expected, ogs)
|
||||
|
||||
// Change group rules and reload
|
||||
// Change group rules and reload.
|
||||
for i, g := range rgs.Groups {
|
||||
for j, r := range g.Rules {
|
||||
rgs.Groups[i].Rules[j].Expr = fmt.Sprintf("%s * 0", r.Expr)
|
||||
|
|
Loading…
Reference in a new issue