diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-21 18:52:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 18:52:55 +0200 |
commit | 4828455055010a1376f1e83832bfa34787f3a1e7 (patch) | |
tree | 5e74cd1f2800552042901173923d3f35386882ca /libpod/define | |
parent | a8619bbb832646a816a138e0656ca6abdc9ad04e (diff) | |
parent | 7b21bcef5881db4f341090d255f6ef204a30dd1e (diff) | |
download | podman-4828455055010a1376f1e83832bfa34787f3a1e7.tar.gz podman-4828455055010a1376f1e83832bfa34787f3a1e7.tar.bz2 podman-4828455055010a1376f1e83832bfa34787f3a1e7.zip |
Merge pull request #7390 from baude/podnet
error when adding container to pod with network information
Diffstat (limited to 'libpod/define')
-rw-r--r-- | libpod/define/errors.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/define/errors.go b/libpod/define/errors.go index 6e372eb5e..f80b1d6e3 100644 --- a/libpod/define/errors.go +++ b/libpod/define/errors.go @@ -157,4 +157,8 @@ var ( // ErrImageInUse indicates the requested operation failed because the image was in use ErrImageInUse = errors.New("image is being used") + + // ErrNetworkOnPodContainer indicates the user wishes to alter network attributes on a container + // in a pod. This cannot be done as the infra container has all the network information + ErrNetworkOnPodContainer = errors.New("network cannot be configured when it is shared with a pod") ) |