Merge pull request #77479 from danielqsj/id

fix increment-decrement lint error
This commit is contained in:
Kubernetes Prow Robot
2019-05-07 22:14:45 -07:00
committed by GitHub
7 changed files with 16 additions and 16 deletions

View File

@@ -177,7 +177,7 @@ func runServiceLatencies(f *framework.Framework, inParallel, total int, acceptab
select {
case e := <-errs:
e2elog.Logf("Got error: %v", e)
errCount += 1
errCount++
case d := <-durations:
output = append(output, d)
}

View File

@@ -200,7 +200,7 @@ func containerGCTest(f *framework.Framework, test testRun) {
containerCount := 0
for _, containerName := range containerNames {
if containerName == pod.getContainerName(i) {
containerCount += 1
containerCount++
}
}
if containerCount > maxPerPodContainer+1 {
@@ -228,7 +228,7 @@ func containerGCTest(f *framework.Framework, test testRun) {
containerCount := 0
for _, containerName := range containerNames {
if containerName == pod.getContainerName(i) {
containerCount += 1
containerCount++
}
}
if pod.restartCount > 0 && containerCount < maxPerPodContainer+1 {