mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-03 07:55:05 +00:00
Remove 99% of deprecated ioutil usage
Signed-off-by: David Gageot <david.gageot@docker.com>
This commit is contained in:
@@ -129,7 +129,7 @@ func makeDevLinks() error {
|
||||
}
|
||||
}
|
||||
|
||||
devs, err := ioutil.ReadDir("/sys/class/block")
|
||||
devs, err := os.ReadDir("/sys/class/block")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user