Skip to content
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

fix(controller, probe): fix sysfs probe and controller options #504

Merged
merged 1 commit into from
Oct 27, 2020

Conversation

akhilerm
Copy link
Contributor

Signed-off-by: Akhil Mohan [email protected]

Pull Request template

Why is this PR required? What issue does it fix?:

  • Controller options were not set in the devce list command which caused the command to not list blockdevice resources.
  • The sysfsprobe was missing a return statement which resulted in processing of the device even if an error occurs.

What this PR does?:

  • set controller options in device list command
  • return sysfs probe to prevent null pointer exception

Does this PR require any upgrade changes?:
No

If the changes in this PR are manually verified, list down the scenarios covered::

Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • Fixes #
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Has the change log section been updated?
  • Commit has unit tests
  • Commit has integration tests
  • (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
  • (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

- set controller options in device list command
- return sysfs probe to prevent null pointer exception

Signed-off-by: Akhil Mohan <[email protected]>
@akhilerm akhilerm force-pushed the fix-controller-probe branch from 7055003 to dc98a56 Compare October 22, 2020 11:05
@akhilerm akhilerm requested a review from kmova October 22, 2020 11:06
akhilerm referenced this pull request Oct 22, 2020
* add config file as argument instead of doing with the default hardcoded filepath
* fix test cases for config options

Signed-off-by: Akhil Mohan <[email protected]>
@kmova kmova merged commit c7906b5 into openebs-archive:master Oct 27, 2020
@akhilerm akhilerm deleted the fix-controller-probe branch December 13, 2021 05:47
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