summaryrefslogtreecommitdiff
path: root/libpod/define/errors.go
diff options
context:
space:
mode:
authorPeter Hunt <pehunt@redhat.com>2019-08-08 16:37:55 -0400
committerPeter Hunt <pehunt@redhat.com>2019-08-08 20:24:19 -0400
commite2e41a7003dbb631dd3ba64f2d4ee46a9588d7a6 (patch)
treebb11968b9a31f436c48931c4dc573e6ab113b1fe /libpod/define/errors.go
parent4349f42d66d91fa48cde6aa6ed499eaa41d3e2b5 (diff)
downloadpodman-e2e41a7003dbb631dd3ba64f2d4ee46a9588d7a6.tar.gz
podman-e2e41a7003dbb631dd3ba64f2d4ee46a9588d7a6.tar.bz2
podman-e2e41a7003dbb631dd3ba64f2d4ee46a9588d7a6.zip
Add conmon probe to runtime construction
Now, when a user's conmon is out of date, podman will tell them Signed-off-by: Peter Hunt <pehunt@redhat.com>
Diffstat (limited to 'libpod/define/errors.go')
-rw-r--r--libpod/define/errors.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/define/errors.go b/libpod/define/errors.go
index a4368a9aa..9d532263c 100644
--- a/libpod/define/errors.go
+++ b/libpod/define/errors.go
@@ -107,4 +107,8 @@ var (
// ErrOCIRuntimeNotFound indicates the OCI runtime attempted to invoke a command
// that was not found
ErrOCIRuntimeNotFound = errors.New("OCI runtime command not found error")
+
+ // ErrConmonOutdated indicates the version of conmon found (whether via the configuration or $PATH)
+ // is out of date for the current podman version
+ ErrConmonOutdated = errors.New("outdated conmon version")
)