podman/utils
Kir Kolyshkin 4878dff3e2 Remove excessive error wrapping
In case os.Open[File], os.Mkdir[All], ioutil.ReadFile and the like
fails, the error message already contains the file name and the
operation that fails, so there is no need to wrap the error with
something like "open %s failed".

While at it

 - replace a few places with os.Open, ioutil.ReadAll with
   ioutil.ReadFile.

 - replace errors.Wrapf with errors.Wrap for cases where there
   are no %-style arguments.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2020-10-05 15:30:37 -07:00
..
utils.go Ensure libpod/define does not include libpod/image 2020-07-31 17:17:56 -04:00
utils_supported.go Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
utils_windows.go podman: add new cgroup mode split 2020-06-25 17:16:12 +02:00