fix typo Conext => Context
This commit is contained in:
@@ -585,8 +585,8 @@ func TestDropFSGroupFields(t *testing.T) {
|
||||
t.Errorf("for %s, expected fsGroupChangepolicy found none", podInfo.description)
|
||||
}
|
||||
} else {
|
||||
secConext := newPod.Spec.SecurityContext
|
||||
if secConext != nil && secConext.FSGroupChangePolicy != nil {
|
||||
secContext := newPod.Spec.SecurityContext
|
||||
if secContext != nil && secContext.FSGroupChangePolicy != nil {
|
||||
t.Errorf("for %s, unexpected fsGroupChangepolicy set", podInfo.description)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user