Lines Matching refs:HasBroken
104 HasBroken map[string]int member
111 if l.HasBroken == nil {
112 l.HasBroken = map[string]int{}
126 for n := range l.HasBroken {
127 if l.HasBroken[n] < l2.HasBroken[n] {
128 l.HasBroken[n] = l2.HasBroken[n]
131 for n := range l2.HasBroken {
132 if _, ok := l.HasBroken[n]; !ok {
133 l.HasBroken[n] = l2.HasBroken[n]
164 if log.HasBroken[n] > 0 {
167 if log.HasBroken[n] > 1 {
170 …(" %s needs to set %s := true (%d instance%s)\n", device, setting.name, log.HasBroken[n], plural)
172 } else if log.HasBroken[n] == 0 {
182 } else if log.HasBroken[n] == 0 {
189 if log.HasBroken[n] > 0 {
191 if log.HasBroken[n] > 1 {
194 …ated, but has %d failure%s\n", device, setting.name, *log.BuildBroken[n], log.HasBroken[n], plural)
261 HasBroken: map[string]int{},
301 l.HasBroken[setting.name] += strings.Count(stdStr, warning)