podman/pkg/specgen/generate
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
..
config_linux.go spec: open fuse with --device .*/fuse 2020-10-02 10:12:58 +02:00
config_linux_cgo.go Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
config_linux_nocgo.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
container.go Merge pull request #7798 from QiWang19/run-manifest 2020-09-30 18:38:07 +00:00
container_create.go Add SELinux support for pods 2020-10-02 15:14:18 -04:00
namespaces.go fix pod creation with "new:" syntax 2020-07-31 18:27:49 +02:00
oci.go rootless: move GetAvailableGids to the rootless pkg 2020-10-02 08:53:54 +02:00
pod_create.go Add support for slirp network for pods 2020-09-25 21:34:23 -04:00
ports.go Binding the same container port to >1 host port is OK 2020-07-29 14:24:36 -04:00
security.go capabilities: always set ambient and inheritable 2020-09-30 15:14:07 +02:00
storage.go Fix incorrect parsing of create/run --volumes-from 2020-09-20 22:49:09 +02:00
validate.go podman: add option --cgroup-conf 2020-08-21 19:06:05 +02:00