mirror of
https://github.com/containers/podman.git
synced 2025-05-22 09:36:57 +08:00
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:
3
vendor/github.com/containers/common/pkg/parse/parse.go
generated
vendored
3
vendor/github.com/containers/common/pkg/parse/parse.go
generated
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user