Skip to content

vacuum's got_error: compare against error code, not against the state#379

Merged
rytilahti merged 1 commit intomasterfrom
vacuum_fix_got_error
Sep 14, 2018
Merged

vacuum's got_error: compare against error code, not against the state#379
rytilahti merged 1 commit intomasterfrom
vacuum_fix_got_error

Conversation

@rytilahti
Copy link
Copy Markdown
Owner

The vacuum changes the state to error state only for a short period of time before returning to a "Disconnected" state if nothing else happens.

This will change the behaviour of got_error to check the error code against 0.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 70.716% when pulling 9def869 on vacuum_fix_got_error into 11ea2a0 on master.

@rytilahti
Copy link
Copy Markdown
Owner Author

Merging as there's been no objections.

@rytilahti rytilahti merged commit b464727 into master Sep 14, 2018
@rytilahti rytilahti deleted the vacuum_fix_got_error branch September 14, 2018 18:02
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.

2 participants