Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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, f0be4d1, 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>
- Loading branch information
Showing
3 changed files
with
12 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters