Skip to content

Commit

Permalink
Don't overly indirect image name
Browse files Browse the repository at this point in the history
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
  • Loading branch information
lauralorenz committed Nov 12, 2024
1 parent 8e7b2af commit 529d5ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion test/e2e_node/container_restart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func newFailAlwaysPod() *v1.Pod {
Containers: []v1.Container{
{
Name: containerName,
Image: imageutils.GetBusyBoxImageName(),
Image: imageutils.GetE2EImage(imageutils.BusyBox),
ImagePullPolicy: v1.PullIfNotPresent,
},
},
Expand Down
5 changes: 0 additions & 5 deletions test/utils/image/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 529d5ba

Please sign in to comment.