diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-05-24 19:17:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 19:17:29 +0200 |
commit | a6f0ac229f57c1ac93fe0604dd923f704e976d9a (patch) | |
tree | 4be350f66ab347404e46c508c916a428276f3151 | |
parent | 4d6b66a452416b79fe5b6b6615ee5076763a44df (diff) | |
parent | 4c095aa7e2e31e9b8105a1de9c7b62f6283d3b42 (diff) | |
download | podman-a6f0ac229f57c1ac93fe0604dd923f704e976d9a.tar.gz podman-a6f0ac229f57c1ac93fe0604dd923f704e976d9a.tar.bz2 podman-a6f0ac229f57c1ac93fe0604dd923f704e976d9a.zip |
Merge pull request #10436 from rhatdan/errors
Improve OCI Runtime error
-rw-r--r-- | libpod/define/errors.go | 2 | ||||
-rw-r--r-- | test/system/030-run.bats | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libpod/define/errors.go b/libpod/define/errors.go index 81bf5f69c..9fd210eed 100644 --- a/libpod/define/errors.go +++ b/libpod/define/errors.go @@ -152,7 +152,7 @@ var ( // ErrOCIRuntimeNotFound indicates the OCI runtime attempted to invoke a command // that was not found - ErrOCIRuntimeNotFound = errors.New("OCI not found") + ErrOCIRuntimeNotFound = errors.New("OCI runtime attempted to invoke a command that was not found") // ErrOCIRuntimeUnavailable indicates that the OCI runtime associated to a container // could not be found in the configuration diff --git a/test/system/030-run.bats b/test/system/030-run.bats index e12c32ef5..2ea981a85 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -14,7 +14,7 @@ load helpers # ...but check the configured runtime engine, and switch to crun as needed run_podman info --format '{{ .Host.OCIRuntime.Path }}' if expr "$output" : ".*/crun"; then - err_no_such_cmd="Error: executable file.* not found in \$PATH: No such file or directory: OCI not found" + err_no_such_cmd="Error: executable file.* not found in \$PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found" err_no_exec_dir="Error: open executable: Operation not permitted: OCI permission denied" fi |