@@ -183,7 +183,7 @@ devices:
183183 }
184184 }
185185
186- cache = NewCache (WithSpecDirs (
186+ cache = newCache (WithSpecDirs (
187187 filepath .Join (dir , "etc" ),
188188 filepath .Join (dir , "run" )),
189189 )
@@ -554,7 +554,7 @@ devices:
554554 if ! selfRefresh {
555555 opts = append (opts , WithAutoRefresh (false ))
556556 }
557- cache = NewCache (opts ... )
557+ cache = newCache (opts ... )
558558 require .NotNil (t , cache )
559559 } else {
560560 err = updateSpecDirs (t , dir , update .etc , update .run )
@@ -785,7 +785,7 @@ devices:
785785 dir , err = createSpecDirs (t , tc .updates [0 ].etc , tc .updates [0 ].run )
786786 require .NoError (t , err )
787787
788- cache = NewCache (
788+ cache = newCache (
789789 WithSpecDirs (
790790 filepath .Join (dir , "etc" ),
791791 filepath .Join (dir , "run" ),
@@ -1171,7 +1171,7 @@ devices:
11711171 t .Errorf ("failed to create test directory: %v" , err )
11721172 return
11731173 }
1174- cache = NewCache (
1174+ cache = newCache (
11751175 WithSpecDirs (
11761176 filepath .Join (dir , "etc" ),
11771177 filepath .Join (dir , "run" ),
@@ -1409,7 +1409,7 @@ devices:
14091409 t .Errorf ("failed to create test directory: %v" , err )
14101410 return
14111411 }
1412- cache = NewCache (
1412+ cache = newCache (
14131413 WithSpecDirs (
14141414 filepath .Join (dir , "etc" ),
14151415 filepath .Join (dir , "run" ),
@@ -1564,7 +1564,7 @@ containerEdits:
15641564 if len (tc .invalid ) != 0 {
15651565 dir , err = createSpecDirs (t , nil , nil )
15661566 require .NoError (t , err )
1567- cache = NewCache (
1567+ cache = newCache (
15681568 WithSpecDirs (
15691569 filepath .Join (dir , "etc" ),
15701570 filepath .Join (dir , "run" ),
@@ -1596,14 +1596,14 @@ containerEdits:
15961596 dir , err = createSpecDirs (t , etc , nil )
15971597 require .NoError (t , err )
15981598
1599- cache = NewCache (
1599+ cache = newCache (
16001600 WithSpecDirs (
16011601 filepath .Join (dir , "etc" ),
16021602 ),
16031603 )
16041604 require .NotNil (t , cache )
16051605
1606- other = NewCache (
1606+ other = newCache (
16071607 WithSpecDirs (
16081608 filepath .Join (dir , "run" ),
16091609 ),
@@ -1786,7 +1786,7 @@ devices:
17861786
17871787 dir , err = createSpecDirs (t , nil , nil )
17881788 require .NoError (t , err )
1789- cache = NewCache (
1789+ cache = newCache (
17901790 WithSpecDirs (
17911791 filepath .Join (dir , "etc" ),
17921792 filepath .Join (dir , "run" ),
0 commit comments