fix golint failures of pkg/kubectl/apps

This commit is contained in:
SataQiu
2019-04-17 19:37:35 +08:00
parent 79a8827c37
commit 4c713e94d9
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) {