Merge pull request #76139 from SataQiu/fix-golint-kubectl-20190404

Fix golint failures of pkg/kubectl/apps
This commit is contained in:
Kubernetes Prow Robot
2019-04-22 10:43:44 -07:00
committed by GitHub
3 changed files with 9 additions and 24 deletions

View File

@@ -153,15 +153,15 @@ func newJob(UID string) batchv1.Job {
}
var (
shortDead int64 = 10
mediumDead int64 = 2 * 60 * 60
longDead int64 = 1000000
noDead int64 = -12345
A batchV1beta1.ConcurrencyPolicy = batchV1beta1.AllowConcurrent
f batchV1beta1.ConcurrencyPolicy = batchV1beta1.ForbidConcurrent
R batchV1beta1.ConcurrencyPolicy = batchV1beta1.ReplaceConcurrent
T = true
F = false
shortDead int64 = 10
mediumDead int64 = 2 * 60 * 60
longDead int64 = 1000000
noDead int64 = -12345
A = batchV1beta1.AllowConcurrent
f = batchV1beta1.ForbidConcurrent
R = batchV1beta1.ReplaceConcurrent
T = true
F = false
)
func TestSyncOne_RunOrNot(t *testing.T) {