@@ -1414,7 +1414,6 @@ func TestAppendDefaultMountOptions(t *testing.T) {
1414
1414
containerName : "containerName" ,
1415
1415
expected : []string {"--cancel-list-on-mount-seconds=10" ,
1416
1416
"--container-name=containerName" ,
1417
- "--disable-version-check=true" ,
1418
1417
"--pre-mount-validate=true" ,
1419
1418
"--empty-dir-check=false" ,
1420
1419
"--tmp-path=/tmp" ,
@@ -1428,7 +1427,6 @@ func TestAppendDefaultMountOptions(t *testing.T) {
1428
1427
containerName : "containerName" ,
1429
1428
expected : []string {"--cancel-list-on-mount-seconds=0" ,
1430
1429
"--container-name=containerName" ,
1431
- "--disable-version-check=true" ,
1432
1430
"--pre-mount-validate=false" ,
1433
1431
"--empty-dir-check=false" ,
1434
1432
"--tmp-path=/tmp" ,
@@ -1442,28 +1440,13 @@ func TestAppendDefaultMountOptions(t *testing.T) {
1442
1440
containerName : "containerName" ,
1443
1441
expected : []string {"--cancel-list-on-mount-seconds=10" ,
1444
1442
"--container-name=containerName" ,
1445
- "--disable-version-check=true" ,
1446
1443
"--pre-mount-validate=false" ,
1447
1444
"--empty-dir-check=false" ,
1448
1445
"--tmp-path=/var/log" ,
1449
1446
"--use-https=true" ,
1450
1447
"targetPath" ,
1451
1448
},
1452
1449
},
1453
- {
1454
- options : []string {"targetPath" , "--tmp-path=/var/log" , "--disable-version-check=false" },
1455
- tmpPath : "/tmp" ,
1456
- containerName : "containerName" ,
1457
- expected : []string {"--cancel-list-on-mount-seconds=10" ,
1458
- "--container-name=containerName" ,
1459
- "--disable-version-check=false" ,
1460
- "--pre-mount-validate=true" ,
1461
- "--empty-dir-check=false" ,
1462
- "--tmp-path=/var/log" ,
1463
- "--use-https=true" ,
1464
- "targetPath" ,
1465
- },
1466
- },
1467
1450
}
1468
1451
1469
1452
for _ , test := range tests {
0 commit comments