summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-12 06:50:01 -0400
committerGitHub <noreply@github.com>2020-10-12 06:50:01 -0400
commit717177a8df9fa4bcd4b9c5a3c46f7968a01b115f (patch)
tree4de1a2305d3a93be13c282a52f7cfab07e7c6f6d
parent04674298bdbcee0c5c9f3ea6a22fa454fd923141 (diff)
parentb14bffd2aa182459c954cfa995cd53d36e11320f (diff)
downloadpodman-717177a8df9fa4bcd4b9c5a3c46f7968a01b115f.tar.gz
podman-717177a8df9fa4bcd4b9c5a3c46f7968a01b115f.tar.bz2
podman-717177a8df9fa4bcd4b9c5a3c46f7968a01b115f.zip
Merge pull request #7984 from nalind/seccomp-error-message
pkg/spec: fix a confusing error message
-rw-r--r--pkg/spec/config_linux_cgo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/spec/config_linux_cgo.go b/pkg/spec/config_linux_cgo.go
index bc8fc4e29..d0891b574 100644
--- a/pkg/spec/config_linux_cgo.go
+++ b/pkg/spec/config_linux_cgo.go
@@ -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")
}
}