diff --git a/test/e2e_node/container_restart_test.go b/test/e2e_node/container_restart_test.go index 5a2d530f3f224..48404b5e110b9 100644 --- a/test/e2e_node/container_restart_test.go +++ b/test/e2e_node/container_restart_test.go @@ -132,7 +132,7 @@ func newFailAlwaysPod() *v1.Pod { Containers: []v1.Container{ { Name: containerName, - Image: imageutils.GetBusyBoxImageName(), + Image: imageutils.GetE2EImage(imageutils.BusyBox), ImagePullPolicy: v1.PullIfNotPresent, }, }, diff --git a/test/utils/image/manifest.go b/test/utils/image/manifest.go index a027e7892d8f9..2bc34b09292b4 100644 --- a/test/utils/image/manifest.go +++ b/test/utils/image/manifest.go @@ -355,11 +355,6 @@ func GetPauseImageName() string { return GetE2EImage(Pause) } -// GetBusyBoxImageName returns the busybox image name with proper version -func GetBusyBoxImageName() string { - return GetE2EImage(BusyBox) -} - // ReplaceRegistryInImageURL replaces the registry in the image URL with a custom one based // on the configured registries. func ReplaceRegistryInImageURL(imageURL string) (string, error) {