Merge pull request #7984 from nalind/seccomp-error-message

pkg/spec: fix a confusing error message
This commit is contained in:
OpenShift Merge Robot 2020-10-12 06:50:01 -04:00 committed by GitHub
commit 717177a8df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")
}
}