-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agent: Fix possible crash when modifying Configuration
When modifying a Configuration that made the discovery handler drop the connection (e.g an invalid udev rule for udev handler), the finished_discovery_receiver gets None as the connection was dropped by the other end. This lead to a crash of the agent as the Option was unwrapped here. Now ignoring the None case to avoid crash. Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
- Loading branch information
1 parent
fdb735e
commit 183eed5
Showing
1 changed file
with
78 additions
and
6 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