mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-10-31 18:28:13 +00:00
Kill TooLongMaxLength() in favor of TooLong()
This commit is contained in:
@@ -11926,7 +11926,7 @@ func TestValidatePod(t *testing.T) {
|
||||
),
|
||||
},
|
||||
"too long AppArmor localhost profile": {
|
||||
expectedError: "Too long: may not be longer than 4095",
|
||||
expectedError: "Too long: may not be more than 4095 bytes",
|
||||
spec: *podtest.MakePod("123",
|
||||
podtest.SetSecurityContext(&core.PodSecurityContext{
|
||||
AppArmorProfile: &core.AppArmorProfile{
|
||||
|
||||
Reference in New Issue
Block a user