@@ -116,7 +116,7 @@ func shouldRecoverAllThePodsAfterUpgrade(t *testing.T, criRuntimeService cri.Run
116116 var busyboxImage = images .Get (images .BusyBox )
117117
118118 t .Logf ("Pulling image %q" , busyboxImage )
119- _ , err := criImageService .PullImage (& criruntime.ImageSpec {Image : busyboxImage }, nil , nil )
119+ _ , err := criImageService .PullImage (& criruntime.ImageSpec {Image : busyboxImage }, nil , nil , "" )
120120 require .NoError (t , err )
121121
122122 t .Log ("Create first sandbox" )
@@ -195,7 +195,7 @@ func execToExistingContainer(t *testing.T, criRuntimeService cri.RuntimeService,
195195 var busyboxImage = images .Get (images .BusyBox )
196196
197197 t .Logf ("Pulling image %q" , busyboxImage )
198- _ , err := criImageService .PullImage (& criruntime.ImageSpec {Image : busyboxImage }, nil , nil )
198+ _ , err := criImageService .PullImage (& criruntime.ImageSpec {Image : busyboxImage }, nil , nil , "" )
199199 require .NoError (t , err )
200200 t .Log ("Create sandbox" )
201201 sbConfig := PodSandboxConfig ("sandbox" , "running" )
@@ -263,7 +263,7 @@ func shouldManipulateContainersInPodAfterUpgrade(t *testing.T, criRuntimeService
263263 var busyboxImage = images .Get (images .BusyBox )
264264
265265 t .Logf ("Pulling image %q" , busyboxImage )
266- _ , err := criImageService .PullImage (& criruntime.ImageSpec {Image : busyboxImage }, nil , nil )
266+ _ , err := criImageService .PullImage (& criruntime.ImageSpec {Image : busyboxImage }, nil , nil , "" )
267267 require .NoError (t , err )
268268
269269 t .Log ("Create a sandbox" )
@@ -353,7 +353,7 @@ func shouldRecoverExistingImages(t *testing.T, criRuntimeService cri.RuntimeServ
353353 expectedRefs := []string {}
354354 for _ , img := range images {
355355 t .Logf ("Pulling image %q" , img )
356- imgRef , err := criImageService .PullImage (& criruntime.ImageSpec {Image : img }, nil , nil )
356+ imgRef , err := criImageService .PullImage (& criruntime.ImageSpec {Image : img }, nil , nil , "" )
357357 require .NoError (t , err )
358358 expectedRefs = append (expectedRefs , imgRef )
359359 }
0 commit comments