summaryrefslogtreecommitdiff
path: root/libpod/define
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/define')
-rw-r--r--libpod/define/container_inspect.go2
-rw-r--r--libpod/define/errors.go8
-rw-r--r--libpod/define/version.go2
3 files changed, 8 insertions, 4 deletions
diff --git a/libpod/define/container_inspect.go b/libpod/define/container_inspect.go
index 4e1fcca35..614882467 100644
--- a/libpod/define/container_inspect.go
+++ b/libpod/define/container_inspect.go
@@ -4,7 +4,7 @@ import (
"time"
"github.com/containers/image/v5/manifest"
- "github.com/containers/libpod/libpod/driver"
+ "github.com/containers/libpod/v2/libpod/driver"
)
// InspectContainerConfig holds further data about how a container was initially
diff --git a/libpod/define/errors.go b/libpod/define/errors.go
index 98dc603d1..1e9179353 100644
--- a/libpod/define/errors.go
+++ b/libpod/define/errors.go
@@ -3,8 +3,8 @@ package define
import (
"errors"
- "github.com/containers/libpod/libpod/image"
- "github.com/containers/libpod/utils"
+ "github.com/containers/libpod/v2/libpod/image"
+ "github.com/containers/libpod/v2/utils"
)
var (
@@ -70,6 +70,10 @@ var (
// ErrInternal indicates an internal library error
ErrInternal = errors.New("internal libpod error")
+ // ErrPodPartialFail indicates that a pod operation was only partially
+ // successful, and some containers within the pod failed.
+ ErrPodPartialFail = errors.New("some containers failed")
+
// ErrDetach indicates that an attach session was manually detached by
// the user.
ErrDetach = utils.ErrDetach
diff --git a/libpod/define/version.go b/libpod/define/version.go
index 3eb016264..da8f88bc1 100644
--- a/libpod/define/version.go
+++ b/libpod/define/version.go
@@ -5,7 +5,7 @@ import (
"strconv"
"time"
- podmanVersion "github.com/containers/libpod/version"
+ podmanVersion "github.com/containers/libpod/v2/version"
)
// Overwritten at build time