aboutsummaryrefslogtreecommitdiff
path: root/libpod/define/errors.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-12 19:40:31 +0100
committerGitHub <noreply@github.com>2020-11-12 19:40:31 +0100
commit2aa6a8577d088271251604b028100f00a442f5cd (patch)
treeba5f781412045c7bbd7a3313e306b36c4b92b208 /libpod/define/errors.go
parent7774f63319be64a0a96fb7ec7c9f0b7c28faac03 (diff)
parent8d56eb5342ad8afa35750f7f14791c44e37a8c30 (diff)
downloadpodman-2aa6a8577d088271251604b028100f00a442f5cd.tar.gz
podman-2aa6a8577d088271251604b028100f00a442f5cd.tar.bz2
podman-2aa6a8577d088271251604b028100f00a442f5cd.zip
Merge pull request #8298 from mheon/db_network_connect
Add support for network connect / disconnect to DB
Diffstat (limited to 'libpod/define/errors.go')
-rw-r--r--libpod/define/errors.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/libpod/define/errors.go b/libpod/define/errors.go
index 27c5febf4..471827b7c 100644
--- a/libpod/define/errors.go
+++ b/libpod/define/errors.go
@@ -33,9 +33,6 @@ var (
// ErrNoAliases indicates that the container does not have any network
// aliases.
ErrNoAliases = errors.New("no aliases for container")
- // ErrNoAliasesForNetwork indicates that the container has no aliases
- // for a specific network.
- ErrNoAliasesForNetwork = errors.New("no aliases for network")
// ErrCtrExists indicates a container with the same name or ID already
// exists
@@ -49,9 +46,9 @@ var (
// ErrExecSessionExists indicates an exec session with the same ID
// already exists.
ErrExecSessionExists = errors.New("exec session already exists")
- // ErrAliasExists indicates that a network alias with the same name
- // already exists in the network.
- ErrAliasExists = errors.New("alias already exists")
+ // ErrNetworkExists indicates that a network with the given name already
+ // exists.
+ ErrNetworkExists = errors.New("network already exists")
// ErrCtrStateInvalid indicates a container is in an improper state for
// the requested operation