mirror of
https://github.com/containers/podman.git
synced 2025-12-13 02:09:16 +08:00
b96be3af(changes to allow for darwin compilation, 2018-06-20, #1015) made AddPrivilegedDevices per-platform andcc6f0e85(more changes to compile darwin, 2018-07-04, #1047) made CreateBlockIO per-platform. But both left but left out docs for the unsupported version [1]: pkg/spec/config_unsupported.go:18:1⚠️ exported method CreateConfig.AddPrivilegedDevices should have comment or be unexported (golint) pkg/spec/config_unsupported.go:22:1⚠️ exported method CreateConfig.CreateBlockIO should have comment or be unexported (golint) To keep the docs DRY, I've restored the public methods and their docs, and I've added new, internal methods for the per-platform implementations. [1]: https://travis-ci.org/projectatomic/libpod/jobs/400555937#L160 Signed-off-by: W. Trevor King <wking@tremily.us> Closes: #1034 Approved by: baude
4.6 KiB
4.6 KiB