mirror of
https://github.com/containers/podman.git
synced 2025-06-21 01:19:15 +08:00
Merge pull request #7984 from nalind/seccomp-error-message
pkg/spec: fix a confusing error message
This commit is contained in:
@ -39,7 +39,7 @@ func getSeccompConfig(config *SecurityConfig, configSpec *spec.Spec) (*spec.Linu
|
||||
logrus.Debug("Loading default seccomp profile")
|
||||
seccompConfig, err = goSeccomp.GetDefaultProfile(configSpec)
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "loading seccomp profile (%s) failed", config.SeccompProfilePath)
|
||||
return nil, errors.Wrapf(err, "loading default seccomp profile failed")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user