runtime-tools
runtime-tools copied to clipboard
Runtime Tools validate does not compile on Windows
The Validator.CheckLinux method does not compile on Windows. We are using this package in an OCI runtime cli implementation for Windows and would like to validate our bundle config.json using this official package.
Specifically this line is one that introduces code that is not os agnostic.
Can we move the Linux specific code to an _linux.go file so this package compiles on Windows?
On Fri, Aug 25, 2017 at 09:04:16AM -0700, Sunjay Bhatia wrote:
Can we move the Linux specific code to an
_linux.gofile so this package compiles on Windows?
+1 to putting host-specific validation code in suffixed files.