-
Notifications
You must be signed in to change notification settings - Fork 55
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
Remove dbus enums final #1222
Remove dbus enums final #1222
Conversation
Whoops! You should fix up test infrastructure, too: |
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.
See comment.
fixes #1160 |
I don't understand, this PR updates _stratisd_constants.py. What further needs to be changed? |
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.
I must have looked at something unrelated by mistake. It looks good.
Best to just use ERROR. fixes stratis-storage#1181 Signed-off-by: Andy Grover <agrover@redhat.com>
This is pretty much the same as an IO error. Users should not care about which crates Stratis is using. Signed-off-by: Andy Grover <agrover@redhat.com>
There's no bright-line between ERROR and IO_ERROR. Also, we should only try to have separate error types for cases users will conceivably check for and then do something, and IO_ERROR doesn't meet this test. Signed-off-by: Andy Grover <agrover@redhat.com>
94f5fa4
to
a1e9500
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.
re-ack.
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.
LGTM, again 😃
final PR of #1204
fixes #1167