Skip to content

Commit f141248

Browse files
committed
[no-relnote] Address lint comments
Signed-off-by: Evan Lezar <[email protected]>
1 parent 6a5f262 commit f141248

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controllers/transforms_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ func TestTransformToolkitCtrForCDI(t *testing.T) {
18721872

18731873
for _, tc := range testCases {
18741874
t.Run(tc.description, func(t *testing.T) {
1875-
mainContainer := &tc.ds.DaemonSet.Spec.Template.Spec.Containers[0]
1875+
mainContainer := &tc.ds.Spec.Template.Spec.Containers[0]
18761876
transformToolkitCtrForCDI(mainContainer)
18771877
require.EqualValues(t, tc.expectedDs, tc.ds)
18781878
})
@@ -1928,7 +1928,7 @@ func TestTransformDevicePluginCtrForCDI(t *testing.T) {
19281928

19291929
for _, tc := range testCases {
19301930
t.Run(tc.description, func(t *testing.T) {
1931-
mainContainer := &tc.ds.DaemonSet.Spec.Template.Spec.Containers[0]
1931+
mainContainer := &tc.ds.Spec.Template.Spec.Containers[0]
19321932
transformDevicePluginCtrForCDI(mainContainer, tc.cpSpec)
19331933
require.EqualValues(t, tc.expectedDs, tc.ds)
19341934
})

0 commit comments

Comments
 (0)