diff --git a/pkg/securitycontext/provider_test.go b/pkg/securitycontext/provider_test.go index 609490c7b5..1735fdfa99 100644 --- a/pkg/securitycontext/provider_test.go +++ b/pkg/securitycontext/provider_test.go @@ -144,7 +144,7 @@ func TestModifySecurityOption(t *testing.T) { for _, tc := range testCases { actual := modifySecurityOption(tc.config, tc.optName, tc.optVal) if !reflect.DeepEqual(tc.expected, actual) { - t.Errorf("Failed to apply options correctly for tc: %S. Expected: %v but got %v", tc.name, tc.expected, actual) + t.Errorf("Failed to apply options correctly for tc: %s. Expected: %v but got %v", tc.name, tc.expected, actual) } } }