|
@@ -26,7 +26,6 @@ const frozenImgDir = "/docker-frozen-images"
|
|
|
// images were passed in. If the images need to be downloaded, then it will respect
|
|
|
// the passed in images
|
|
|
func FrozenImagesLinux(client client.APIClient, images ...string) error {
|
|
|
- imgNS := os.Getenv("TEST_IMAGE_NAMESPACE")
|
|
|
var loadImages []struct{ srcName, destName string }
|
|
|
for _, img := range images {
|
|
|
if !imageExists(client, img) {
|
|
@@ -38,9 +37,6 @@ func FrozenImagesLinux(client client.APIClient, images ...string) error {
|
|
|
if img == "hello-world:frozen" {
|
|
|
srcName = "hello-world:latest"
|
|
|
}
|
|
|
- if imgNS != "" {
|
|
|
- srcName = imgNS + "/" + srcName
|
|
|
- }
|
|
|
loadImages = append(loadImages, struct{ srcName, destName string }{
|
|
|
srcName: srcName,
|
|
|
destName: img,
|