summaryrefslogtreecommitdiff
path: root/libpod/define/errors.go
diff options
context:
space:
mode:
authorPeter Hunt <pehunt@redhat.com>2021-01-14 14:41:40 -0500
committerPeter Hunt <pehunt@redhat.com>2021-04-16 17:45:52 -0400
commitb2c6663a9f6f52d43b01b7a45dd0d32781bc9ac1 (patch)
tree29ac1f294a3b37a6549b751881ce304c121a38a3 /libpod/define/errors.go
parent452b9e204f21f32c71ac876f1fce82697a1935e9 (diff)
downloadpodman-b2c6663a9f6f52d43b01b7a45dd0d32781bc9ac1.tar.gz
podman-b2c6663a9f6f52d43b01b7a45dd0d32781bc9ac1.tar.bz2
podman-b2c6663a9f6f52d43b01b7a45dd0d32781bc9ac1.zip
runtime: return findConmon to libpod
I believe moving the conmon probing code to c/common wasn't the best strategy. Different container engines have different requrements of which conmon version is required (based on what flags they use). 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 e19ac6a27..8d943099b 100644
--- a/libpod/define/errors.go
+++ b/libpod/define/errors.go
@@ -206,4 +206,8 @@ var (
// ErrCanceled indicates that an operation has been cancelled by a user.
// Useful for potentially long running tasks.
ErrCanceled = errors.New("cancelled by user")
+
+ // ErrConmonVersionFormat is used when the expected versio-format of conmon
+ // has changed.
+ ErrConmonVersionFormat = "conmon version changed format"
)