We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d3f7e9e + 766302b commit ba6f935Copy full SHA for ba6f935
generate/generate.go
@@ -1050,7 +1050,7 @@ func (g *Generator) AddProcessCapability(c string) error {
1050
// DropProcessCapability drops a process capability from g.spec.Process.Capabilities.
1051
func (g *Generator) DropProcessCapability(c string) error {
1052
cp := strings.ToUpper(c)
1053
- if err := validate.CapValid(cp, g.HostSpecific); err != nil {
+ if err := validate.CapValid(cp, false); err != nil {
1054
return err
1055
}
1056
0 commit comments