replace with selinux label

Signed-off-by: zounengren <zouyee1989@gmail.com>
This commit is contained in:
zounengren 2022-07-24 20:11:16 +08:00
parent db3ecb286b
commit d121efc6d8
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ func (c *criService) containerSpec(
}
defer func() {
if retErr != nil {
_ = label.ReleaseLabel(processLabel)
selinux.ReleaseLabel(processLabel)
}
}()

View File

@ -193,7 +193,7 @@ func (c *criService) containerSpec(
}
defer func() {
if retErr != nil {
_ = label.ReleaseLabel(processLabel)
selinux.ReleaseLabel(processLabel)
}
}()