Update docs for unset seccomp profile

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko
2020-05-10 10:46:58 -07:00
parent 38f19f991e
commit 674fe72aa8
4 changed files with 9 additions and 4 deletions

View File

@@ -837,7 +837,7 @@ func TestGenerateSeccompSpecOpts(t *testing.T) {
} {
t.Run(fmt.Sprintf("TestCase %q", desc), func(t *testing.T) {
cri := &criService{}
cri.config.DefaultSeccompProfile = test.defaultProfile
cri.config.UnsetSeccompProfile = test.defaultProfile
specOpts, err := cri.generateSeccompSpecOpts(test.profile, test.privileged, !test.disable)
assert.Equal(t,
reflect.ValueOf(test.specOpts).Pointer(),