Bump github.com/containers/common from 0.36.0 to 0.37.0

Bumps [github.com/containers/common](https://github.com/containers/common) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/containers/common/releases)
- [Commits](https://github.com/containers/common/compare/v0.36.0...v0.37.0)

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2021-04-22 07:59:24 +00:00
committed by GitHub
parent 979f047d73
commit 8ebafbde34
15 changed files with 74 additions and 66 deletions

View File

@ -22,7 +22,7 @@ func DeviceFromPath(device string) ([]devices.Device, error) {
}
srcInfo, err := os.Stat(src)
if err != nil {
return nil, errors.Wrapf(err, "error getting info of source device %s", src)
return nil, err
}
if !srcInfo.IsDir() {