mirror of
https://github.com/containers/podman.git
synced 2025-11-13 01:29:06 +08:00
The dependabot does not update dependencies when they do not use a tag. This patch upgrades all untagged depenencies if possible. You can upgrade all dependencies with `go get -u ./... && make vendor` in theory however this failed since the k8s changes do not compile on go v1.16 so I only updated the other dependencies. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
19 lines
313 B
Go
19 lines
313 B
Go
//go:build !linux
|
|
// +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
|
|
}
|