Fix spelling
Docker-DCO-1.1-Signed-off-by: Lee Treveil <leetreveil@gmail.com> (github: leetreveil)
This commit is contained in:
parent
8e3130d7fd
commit
6a3cea177c
security/capabilities
|
@ -27,7 +27,7 @@ func DropBoundingSet(capabilities []string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// DropCapabilities drops all capabilities for the current process expect those specified in the container configuration.
|
||||
// DropCapabilities drops all capabilities for the current process except those specified in the container configuration.
|
||||
func DropCapabilities(capList []string) error {
|
||||
c, err := capability.NewPid(os.Getpid())
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue