mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-25 01:07:45 +00:00
Merge pull request #128553 from thockin/master
Validation: merge TooLong and TooLongMaxLen
This commit is contained in:
@@ -11928,7 +11928,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