spiegel_podman/pkg/varlinkapi
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
..
virtwriter fix lint - pkg/varlinkapi/virtwriter 2020-01-08 15:44:30 +01:00
attach.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
config.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
container.go Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
containers.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
containers_create.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
create.go Use set for systemd commands 2020-08-11 13:29:17 +02:00
events.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
funcs.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
generate.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
images.go Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
intermediate.go Podman V2 birth 2020-04-16 15:53:58 -05:00
intermediate_varlink.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
mount.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
pods.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
remote_client.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
shortcuts.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
system.go fix build with varlink 2020-09-22 16:46:15 -04:00
transfers.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
util.go Refactor API build endpoint to be more compliant 2020-09-14 13:46:59 -07:00
volumes.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00