podman/libpod/lock
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
..
file Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
shm Delete prior /dev/shm/* 2020-08-28 09:26:33 -04:00
file_lock_manager.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
in_memory_locks.go When refreshing after a reboot, force lock allocation 2019-05-06 14:17:54 -04:00
lock.go When refreshing after a reboot, force lock allocation 2019-05-06 14:17:54 -04:00
shm_lock_manager_linux.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
shm_lock_manager_unsupported.go Add initial version of renumber backend 2019-02-21 10:51:42 -05:00