Closed neolit123 closed 4 years ago
/kind bug /priority important-longterm /assign @odinuge
Thanks for fixing!
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: neolit123, odinuge
The full list of commands accepted by this bot can be found here.
The pull request process is described here
fix issues that blocked this PR from merging in k/k: https://github.com/kubernetes/kubernetes/pull/89901
contains 4 commits:
this PR added a
golang.org/x/sys/unix
import, butunix.CGROUP2_SUPER_MAGIC
is not defined onwindows
. cgroup and package validation only makes sense on Linux, thus split the files and no-op the cgroup and package validation for!linux
. package validation could be extended one day to support other OSes and package managers, but might be a better idea to remove this code instead..ValidateSpec: don't include cgroups and package validators on non-Linux
running cgroup and package validation does not make sense for non-Linux OSes.
hack: run govet for all supported OS-es (darwin,linux,windows)
This will catch compile time problems not only for the host OS where the verification is being run.