From 55ea50101a41f751322c95b1198f03df6e4b4162 Mon Sep 17 00:00:00 2001 From: ishaansehgal99 Date: Wed, 1 May 2024 21:18:24 -0700 Subject: [PATCH] nit --- pkg/tuning/preset-tuning_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tuning/preset-tuning_test.go b/pkg/tuning/preset-tuning_test.go index 9d5606b80..b2d7d4143 100644 --- a/pkg/tuning/preset-tuning_test.go +++ b/pkg/tuning/preset-tuning_test.go @@ -276,7 +276,7 @@ func TestHandleImageDataSource(t *testing.T) { for name, tc := range testcases { t.Run(name, func(t *testing.T) { - initContainer, volume, volumeMount := handleImageDataSource(context.Background(), tc.workspaceObj) + initContainer, volume, volumeMount := handleImageDataSource(context.Background(), tc.workspaceObj.Tuning.Input.Image) assert.Equal(t, tc.expectedInitContainerName, initContainer.Name) assert.Equal(t, tc.workspaceObj.Tuning.Input.Image, initContainer.Image)