fix typo Conext => Context

This commit is contained in:
Christoph Mewes
2023-09-17 11:18:43 +02:00
parent 0241da314e
commit 6e3ebdc68e
14 changed files with 17 additions and 17 deletions

View File

@@ -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)
}
}