bin
03546f75a6
runtime: change io/ioutil to io/os packages
...
Change io/ioutil to io/os packages because io/ioutil package
is deprecated from 1.16:
Discard => io.Discard
NopCloser => io.NopCloser
ReadAll => io.ReadAll
ReadDir => os.ReadDir
ReadFile => os.ReadFile
TempDir => os.MkdirTemp
TempFile => os.CreateTemp
WriteFile => os.WriteFile
Details: https://go.dev/doc/go1.16#ioutil
Fixes : #3265
Signed-off-by: bin <bin@hyper.sh >
2021-12-15 07:31:48 +08:00
Eric Ernst
860f30882a
virtcontainers: move oci, uuid packages top level
...
This will be useful at runtime level; no need for oci or uuid to be subpkg of
virtcontainers.
While at it, ensure we run gofmt on the changed files.
Signed-off-by: Eric Ernst <eric_ernst@apple.com >
2021-11-17 14:12:57 -08:00
Amulya Meka
e5159ea755
cmd: get return value for setCPUtype
...
Accept and assert the return value in testSetCPUTypeGeneric.
Fixes : #2779
Signed-off-by: Amulya Meka <amulmek1@in.ibm.com >
2021-10-01 11:44:14 +00:00
Peng Tao
4f7cc18622
runtime: refactor commandline code directory
...
Move all command line code to `cmd` and move containerd-shim-v2 to pkg.
Fixes : #2627
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2021-09-16 17:19:18 +08:00