bump github.com/containers/common

Update github.com/containers/common from 0.43.0 to 0.43.2.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
Nalin Dahyabhai
2021-08-18 12:42:20 -04:00
parent 1411fa5f23
commit fc6a020330
7 changed files with 24 additions and 16 deletions

View File

@ -5,6 +5,7 @@ package parse
import (
"os"
"path"
"path/filepath"
"strings"
@ -155,7 +156,7 @@ func ValidateVolumeCtrDir(ctrDir string) error {
if ctrDir == "" {
return errors.New("container directory cannot be empty")
}
if !filepath.IsAbs(ctrDir) {
if !path.IsAbs(ctrDir) {
return errors.Errorf("invalid container path %q, must be an absolute path", ctrDir)
}
return nil