spiegel_podman/pkg/spec
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 fix compat api privileged and entrypoint code 2020-10-01 15:18:11 -05:00
config_linux_cgo.go Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
config_linux_nocgo.go Split up create config handling of namespaces and security 2019-11-07 21:23:23 -05:00
config_unsupported.go apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
containerconfig.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
createconfig.go handle play kube with pod.spec.hostAliases 2020-08-31 22:12:35 +08:00
namespaces.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
parse.go apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
ports.go Spell check strings and comments 2018-05-25 08:45:15 +00:00
security.go run, create: add new security-opt proc-opts 2020-08-12 23:46:38 +02:00
spec.go fix compat api privileged and entrypoint code 2020-10-01 15:18:11 -05:00
spec_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
storage.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
storage_test.go Use EqualValues instead of reflect equality 2019-05-01 10:19:05 -04:00