Skip to content

cleanup: better logging for device & type, use Kingpin to check values #290

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

k0ste
Copy link
Contributor

@k0ste k0ste commented Apr 25, 2025

  • use kingpin to check smartctl.powermode-check option value
  • better help message for smartctl.powermode-check with possible values
  • better logging labels, with device name & type, without device path
  • updated .golangci.yml due job failure. Used migrate subcommand

@k0ste
Copy link
Contributor Author

k0ste commented Apr 25, 2025

Screenshot 2025-04-25 at 15 35 28
Screenshot 2025-04-25 at 15 34 09

@k0ste k0ste force-pushed the help2 branch 2 times, most recently from 8081246 to f9814ba Compare April 25, 2025 13:28
…n values

* use kingpin to check `smartctl.powermode-check` option value
* better help message for `smartctl.powermode-check` with possible values
* better logging labels, with device name & type, without device path
* updated `.golangci.yml` due job failure. Used `migrate` subcommand

Signed-off-by: Konstantin Shalygin <[email protected]>
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.

1 participant