Both method are trying to detach the container from a cluster network. The code is exactly the same, this removes the duplication. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: cb6832c6d34cdce33341c4f71ba8f22a23608c70 Component: engine