summaryrefslogtreecommitdiff
path: root/pkg/specgen/volumes.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2022-01-19 20:57:12 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2022-01-19 21:14:33 +0100
commit7046e7804009c58b37d04eeb63ced7cc46b69875 (patch)
treeaea7ae7dc2a10a513127331e7ddb0f86e7bd6ba9 /pkg/specgen/volumes.go
parent5e2fcf813d54980df00976a01fca571b7007ae16 (diff)
downloadpodman-7046e7804009c58b37d04eeb63ced7cc46b69875.tar.gz
podman-7046e7804009c58b37d04eeb63ced7cc46b69875.tar.bz2
podman-7046e7804009c58b37d04eeb63ced7cc46b69875.zip
rootless: report correctly the error
`err` is nil at this point, so errors.Wrapf() would return nil ignoring the remaining arguments. This would prevent SetupRootless() to fail causing podman to run without capabilities but believing so, and it would end up in a crash when accessing the local store. Closes: https://github.com/containers/podman/discussions/12923 [NO NEW TESTS NEEDED] it requires running in the environment created by bazel linux-sandbox. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/specgen/volumes.go')
0 files changed, 0 insertions, 0 deletions