mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
The method to restore a network namespace takes a collection of interfaces to restore with the options to apply. The interface names are structured data, tuples of (SrcName, DstPrefix) but for whatever reason are being passed into Restore() serialized to strings. A refactor,f0be4d126d, accidentally broke the serialization by dropping the delimiter. Rather than fix the serialization and leave the time-bomb for someone else to trip over, pass the interface names as structured data. Signed-off-by: Cory Snider <csnider@mirantis.com> (cherry picked from commit50eb2d2782) Signed-off-by: Cory Snider <csnider@mirantis.com>