mirror of
https://github.com/rancher/plugins.git
synced 2025-09-19 12:53:14 +00:00
If interface name for a container provided by a user is already present, Veth creation fails with incorrect error. If os.IsExist error is returned by makeVethPair: * Check for peer name, if exists generate another random peer name, * else, IsExist error is due to container interface present, return error. Fixes #155