New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use &netlink.LinkNotFoundError{} to determine link not found error #22438
Conversation
Commit da5109519c769b451634d3bb3d0258da2a772618 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
da51095
to
bd131a5
Compare
bd131a5
to
60bb0b9
Compare
60bb0b9
to
5b2df38
Compare
This pull request has been automatically marked as stale because it |
@tanberBro sorry for delay, this looks good. can you rebase on latest master? |
@tanberBro Please rebase the PR to fix the Travis failure. |
use &netlink.LinkNotFoundError{} handling netlink.LinkByName returned not found error. Signed-off-by: tanberBro <pengfei.song@daocloud.io>
5b2df38
to
3127217
Compare
/test |
Signed-off-by: tanberBro pengfei.song@daocloud.io
This error handling is more elegant. like this
cilium/daemon/cmd/daemon.go
Line 333 in a564d01