@@ -1405,7 +1405,6 @@ func TestAppendDefaultMountOptions(t *testing.T) {
1405
1405
containerName : "containerName" ,
1406
1406
expected : []string {"--cancel-list-on-mount-seconds=10" ,
1407
1407
"--container-name=containerName" ,
1408
- "--disable-version-check=true" ,
1409
1408
"--pre-mount-validate=true" ,
1410
1409
"--empty-dir-check=false" ,
1411
1410
"--tmp-path=/tmp" ,
@@ -1419,7 +1418,6 @@ func TestAppendDefaultMountOptions(t *testing.T) {
1419
1418
containerName : "containerName" ,
1420
1419
expected : []string {"--cancel-list-on-mount-seconds=0" ,
1421
1420
"--container-name=containerName" ,
1422
- "--disable-version-check=true" ,
1423
1421
"--pre-mount-validate=false" ,
1424
1422
"--empty-dir-check=false" ,
1425
1423
"--tmp-path=/tmp" ,
@@ -1433,28 +1431,13 @@ func TestAppendDefaultMountOptions(t *testing.T) {
1433
1431
containerName : "containerName" ,
1434
1432
expected : []string {"--cancel-list-on-mount-seconds=10" ,
1435
1433
"--container-name=containerName" ,
1436
- "--disable-version-check=true" ,
1437
1434
"--pre-mount-validate=false" ,
1438
1435
"--empty-dir-check=false" ,
1439
1436
"--tmp-path=/var/log" ,
1440
1437
"--use-https=true" ,
1441
1438
"targetPath" ,
1442
1439
},
1443
1440
},
1444
- {
1445
- options : []string {"targetPath" , "--tmp-path=/var/log" , "--disable-version-check=false" },
1446
- tmpPath : "/tmp" ,
1447
- containerName : "containerName" ,
1448
- expected : []string {"--cancel-list-on-mount-seconds=10" ,
1449
- "--container-name=containerName" ,
1450
- "--disable-version-check=false" ,
1451
- "--pre-mount-validate=true" ,
1452
- "--empty-dir-check=false" ,
1453
- "--tmp-path=/var/log" ,
1454
- "--use-https=true" ,
1455
- "targetPath" ,
1456
- },
1457
- },
1458
1441
}
1459
1442
1460
1443
for _ , test := range tests {
0 commit comments