Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve "Felix dies if interface missing" on Alpine
Alpine and Ubuntu have slightly different error messages when you
run 'ip link show <non-existent interface>'; respectively
ip: can't find device 'thisdoesnotexist'
Device "thisdoesnotexist" does not exist.
We run Felix inside an Alpine container for calico/node, but the
different wording meant Felix didn't recognise the missing
interface as a known error, so raised an exception. Now we catch
both wordings and handle them correctly.
Fixes #899.
- Loading branch information