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
Add 'used' feature to check_swap #6651
Conversation
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 ITL CheckCommand needs to include the new parameter
This implements the _used_ feature to check_swap to print the used swap instead of the default available swap.
f520b36
to
f3d4850
Compare
Updated the ITL CheckCommand to include the new parameter. |
itl/command-plugins-windows.conf
Outdated
@@ -258,6 +258,10 @@ object CheckCommand "swap-windows" { | |||
value = "$swap_win_unit$" | |||
description = "Unit to display swap in" | |||
} | |||
"-U" = { | |||
set_if = $swap_win_show_used$ |
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.
This breaks the config tests, missing double quotes.
14330dc
to
ad1ab42
Compare
Fixed the config test. Tests are now all green. |
Thanks 👍 |
This implements the used feature to check_swap to print the used swap
instead of the default available swap.