mirror of
https://github.com/containers/podman
synced 2024-10-20 01:03:51 +00:00
Merge pull request #7984 from nalind/seccomp-error-message
pkg/spec: fix a confusing error message
This commit is contained in:
commit
717177a8df
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue