@@ -138,7 +138,7 @@ func testLimitedUseOfExecProbes(check *checksdb.Check, env *provider.TestEnviron
138
138
check .LogInfo ("Testing Container %q" , cut )
139
139
if cut .LivenessProbe != nil && cut .LivenessProbe .Exec != nil {
140
140
counter ++
141
- if cut .LivenessProbe .PeriodSeconds > minExecProbePeriodSeconds {
141
+ if cut .LivenessProbe .PeriodSeconds >= minExecProbePeriodSeconds {
142
142
check .LogInfo ("Container %q has a LivenessProbe with PeriodSeconds greater than %d (%d seconds)" ,
143
143
cut , minExecProbePeriodSeconds , cut .LivenessProbe .PeriodSeconds )
144
144
@@ -157,7 +157,7 @@ func testLimitedUseOfExecProbes(check *checksdb.Check, env *provider.TestEnviron
157
157
}
158
158
if cut .StartupProbe != nil && cut .StartupProbe .Exec != nil {
159
159
counter ++
160
- if cut .StartupProbe .PeriodSeconds > minExecProbePeriodSeconds {
160
+ if cut .StartupProbe .PeriodSeconds >= minExecProbePeriodSeconds {
161
161
check .LogInfo ("Container %q has a StartupProbe with PeriodSeconds greater than %d (%d seconds)" ,
162
162
cut , minExecProbePeriodSeconds , cut .LivenessProbe .PeriodSeconds )
163
163
@@ -176,7 +176,7 @@ func testLimitedUseOfExecProbes(check *checksdb.Check, env *provider.TestEnviron
176
176
}
177
177
if cut .ReadinessProbe != nil && cut .ReadinessProbe .Exec != nil {
178
178
counter ++
179
- if cut .ReadinessProbe .PeriodSeconds > minExecProbePeriodSeconds {
179
+ if cut .ReadinessProbe .PeriodSeconds >= minExecProbePeriodSeconds {
180
180
check .LogInfo ("Container %q has a ReadinessProbe with PeriodSeconds greater than %d (%d seconds)" ,
181
181
cut , minExecProbePeriodSeconds , cut .LivenessProbe .PeriodSeconds )
182
182
0 commit comments