podman/pkg/util
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
..
camelcase camelcase: fix lint reports 2020-01-25 09:48:37 +01:00
mountOpts.go Add support for overlay volume mounts in podman. 2020-07-20 09:48:55 -04:00
mountOpts_linux.go Turn off 'noexec' option by default for named volumes 2020-05-20 16:48:20 -04:00
mountOpts_other.go pkg/spec.InitFSMounts: optimize 2020-04-02 07:52:34 -07:00
utils.go Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
utils_darwin.go libpod removal from main (phase 2) 2019-06-27 07:56:24 -05:00
utils_linux.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
utils_linux_test.go Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
utils_supported.go Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
utils_test.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
utils_unsupported.go check --user range for rootless containers 2020-06-02 11:28:58 -04:00
utils_windows.go Use GetRuntimeDir to setup auth.json for login 2019-08-12 14:11:53 -04:00