-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix ready() method in FileWatcher #318
Fix ready() method in FileWatcher #318
Conversation
The ready() method now returns False when an exception is set. Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>
8640fb2
to
45989fe
Compare
To clarify the responsibility of the owner of the FileWatcher instance. Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>
Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>
110ac17
to
8728c96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The diff LGTM, but the PR still needs some improvements:
- Update the PR title as this only fix a bug now
- Update the PR body as it will be part of the merge commit, it doesn't make sense to have outdated, struck out, information.
- It needs release notes
Updated PR tittle and description. The release-notes was already added, do you want me to change something there? |
Woops, I guess I was looking commit-by-commit and forget to hit next at some point. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just an optional improvement over the release notes, trying to explain a bit more the implications of the bug, which is what users care more about (just knowing that a return False
was missed in a method they almost never use is not that informative).
This was suggested in the review to extend the information in the release-notes entry. Co-authored-by: Leandro Lucarella <luca@llucax.com> Signed-off-by: daniel-zullo-frequenz <120166726+daniel-zullo-frequenz@users.noreply.github.com>
Thanks! Added to suggestion to the release-notes |
The ready() method now returns False when an exception is set.
Fixes #317