cri-o/vendor/github.com/opencontainers/runtime-tools/validate/validate_unsupported.go
Vincent Batts a39495dc4b
vendor: update runtime-tools to HEAD
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-03-06 13:19:38 -05:00

17 lines
295 B
Go

// +build !linux
package validate
import (
"github.com/syndtr/gocapability/capability"
)
// LastCap return last cap of system
func LastCap() capability.Cap {
return capability.Cap(-1)
}
// CheckLinux is a noop on this platform
func (v *Validator) CheckLinux() (errs error) {
return nil
}