Skip to content

Consistent error handling across *SubscribeAt functions#654

Merged
aboch merged 1 commit intovishvananda:masterfrom
milan-zededa:consistent-errors
May 30, 2021
Merged

Consistent error handling across *SubscribeAt functions#654
aboch merged 1 commit intovishvananda:masterfrom
milan-zededa:consistent-errors

Conversation

@milan-zededa
Copy link
Copy Markdown
Contributor

Opening PR with a commit from my colleague @eriknordmark which unifies error handling between addrSubscribeAt, linkSubscribeAt and routeSubscribeAt.
The behavior is that while error from Receive() closes the subscription, a notification with unexpected data is just skipped trough with error message sent over through the provided callback. (already done this way for addrSubscribeAt)

Signed-off-by: eriknordmark erik@zededa.com

Signed-off-by: eriknordmark <erik@zededa.com>
@aboch aboch merged commit f9d8f91 into vishvananda:master May 30, 2021
milan-zededa added a commit to milan-zededa/eve that referenced this pull request Oct 13, 2021
All changes in our fork of vishvananda/netlink have been accepted
and merged into the upstream:
- vishvananda/netlink#654
- vishvananda/netlink#659

Signed-off-by: Milan Lenco <milan@zededa.com>
milan-zededa added a commit to milan-zededa/eve that referenced this pull request Oct 13, 2021
All changes in our fork of vishvananda/netlink have been accepted
and merged into the upstream:
- vishvananda/netlink#654
- vishvananda/netlink#659

Signed-off-by: Milan Lenco <milan@zededa.com>
eriknordmark pushed a commit to lf-edge/eve that referenced this pull request Oct 15, 2021
All changes in our fork of vishvananda/netlink have been accepted
and merged into the upstream:
- vishvananda/netlink#654
- vishvananda/netlink#659

Signed-off-by: Milan Lenco <milan@zededa.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants