1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/platform
Kir Kolyshkin 8a5c13155e all: use unix.ByteSliceToString for utsname fields
This also fixes the GetOperatingSystem function in
pkg/parsers/operatingsystem which mistakenly truncated utsname.Machine
to the index of \0 in utsname.Sysname.

Fixes: 7aeb3efcb4
Cc: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-05-18 17:13:20 -07:00
..
architecture_unix.go all: use unix.ByteSliceToString for utsname fields 2022-05-18 17:13:20 -07:00
architecture_windows.go missing windows arm64 arch detection 2022-04-09 16:10:42 +02:00
platform.go Add canonical import comment 2018-02-05 16:51:57 -05:00