aboutsummaryrefslogtreecommitdiff
path: root/libpod/container_internal_unsupported.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-03-09 16:06:43 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-03-19 17:20:31 -0400
commitb6954758bb17f846f81fada71385a94b5072e91c (patch)
tree88a24857eafc25bccc7559869cc6ab9d896426d9 /libpod/container_internal_unsupported.go
parentaa6c8c2e55a7de14fb22f89af14d5c0636eecee0 (diff)
downloadpodman-b6954758bb17f846f81fada71385a94b5072e91c.tar.gz
podman-b6954758bb17f846f81fada71385a94b5072e91c.tar.bz2
podman-b6954758bb17f846f81fada71385a94b5072e91c.zip
Attempt manual removal of CNI IP allocations on refresh
We previously attempted to work within CNI to do this, without success. So let's do it manually, instead. We know where the files should live, so we can remove them ourselves instead. This solves issues around sudden reboots where containers do not have time to fully tear themselves down, and leave IP address allocations which, for various reasons, are not stored in tmpfs and persist through reboot. Fixes #5433 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/container_internal_unsupported.go')
-rw-r--r--libpod/container_internal_unsupported.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/libpod/container_internal_unsupported.go b/libpod/container_internal_unsupported.go
index 4abaa6362..395271b2a 100644
--- a/libpod/container_internal_unsupported.go
+++ b/libpod/container_internal_unsupported.go
@@ -41,10 +41,6 @@ func (c *Container) copyOwnerAndPerms(source, dest string) error {
return nil
}
-func (c *Container) refreshCNI() error {
- return define.ErrNotImplemented
-}
-
func (c *Container) getOCICgroupPath() (string, error) {
return "", define.ErrNotImplemented
}