Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Jun 27, 2023
1 parent 0fcf800 commit c96dc6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/kn/flags/podspec_helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1506,7 +1506,8 @@ func TestUpdateSecurityContext(t *testing.T) {
{
name: "none",
expected: &corev1.PodSpec{
Containers: []corev1.Container{{}},
Containers: []corev1.Container{{
SecurityContext: &corev1.SecurityContext{}}},
},
expectedError: nil,
},
Expand Down

0 comments on commit c96dc6c

Please sign in to comment.