@@ -120,7 +120,7 @@ func TestFillDefault(t *testing.T) {
120
120
expect := builtin
121
121
expect .Mounts = y .Mounts
122
122
expect .Mounts [0 ].Writable = pointer .Bool (false )
123
- expect .Mounts [0 ].SSHFS .Cache = pointer .Bool (false )
123
+ expect .Mounts [0 ].SSHFS .Cache = pointer .Bool (true )
124
124
expect .Mounts [0 ].SSHFS .FollowSymlinks = pointer .Bool (false )
125
125
// Only missing Mounts field is Writable, and the default value is also the null value: false
126
126
@@ -244,7 +244,7 @@ func TestFillDefault(t *testing.T) {
244
244
expect = d
245
245
// Also verify that archive arch is filled in
246
246
expect .Containerd .Archives [0 ].Arch = * d .Arch
247
- expect .Mounts [0 ].SSHFS .Cache = pointer .Bool (false )
247
+ expect .Mounts [0 ].SSHFS .Cache = pointer .Bool (true )
248
248
expect .Mounts [0 ].SSHFS .FollowSymlinks = pointer .Bool (false )
249
249
250
250
y = LimaYAML {}
@@ -317,7 +317,7 @@ func TestFillDefault(t *testing.T) {
317
317
Location : "/var/log" ,
318
318
Writable : pointer .Bool (true ),
319
319
SSHFS : SSHFS {
320
- Cache : pointer .Bool (true ),
320
+ Cache : pointer .Bool (false ),
321
321
FollowSymlinks : pointer .Bool (true ),
322
322
},
323
323
},
@@ -376,7 +376,7 @@ func TestFillDefault(t *testing.T) {
376
376
// o.Mounts just makes d.Mounts[0] writable because the Location matches
377
377
expect .Mounts = append (d .Mounts , y .Mounts ... )
378
378
expect .Mounts [0 ].Writable = pointer .Bool (true )
379
- expect .Mounts [0 ].SSHFS .Cache = pointer .Bool (true )
379
+ expect .Mounts [0 ].SSHFS .Cache = pointer .Bool (false )
380
380
expect .Mounts [0 ].SSHFS .FollowSymlinks = pointer .Bool (true )
381
381
382
382
// o.Networks[1] is overriding the d.Networks[0].Lima entry for the "def0" interface
0 commit comments