mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
d363a1881e
This is needed so that we can add OS version constraints in Swarmkit, which does require the engine to report its host's OS version (see https://github.com/docker/swarmkit/issues/2770). The OS version is parsed from the `os-release` file on Linux, and from the `ReleaseId` string value of the `SOFTWARE\Microsoft\Windows NT\CurrentVersion` registry key on Windows. Added unit tests when possible, as well as Prometheus metrics. Signed-off-by: Jean Rouge <rougej+github@gmail.com> |
||
---|---|---|
.. | ||
kernel | ||
operatingsystem | ||
parsers.go | ||
parsers_test.go |