runtime-tools icon indicating copy to clipboard operation
runtime-tools copied to clipboard

Runtime Tools validate does not compile on Windows

Open sunjayBhatia opened this issue 8 years ago • 1 comments

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?

sunjayBhatia avatar Aug 25 '17 16:08 sunjayBhatia

On Fri, Aug 25, 2017 at 09:04:16AM -0700, Sunjay Bhatia wrote:

Can we move the Linux specific code to an _linux.go file so this package compiles on Windows?

+1 to putting host-specific validation code in suffixed files.

wking avatar Aug 25 '17 16:08 wking