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

Add 'used' feature to check_swap #6651

Merged
merged 2 commits into from Oct 9, 2018
Merged

Conversation

mcktr
Copy link
Member

@mcktr mcktr commented Oct 4, 2018

This implements the used feature to check_swap to print the used swap
instead of the default available swap.

@mcktr mcktr added enhancement New feature or request Plugins labels Oct 4, 2018
@mcktr mcktr requested a review from Crunsher October 4, 2018 09:02
Copy link
Contributor

@Crunsher Crunsher left a 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.
@mcktr mcktr force-pushed the feature/check-swap-show-used branch 2 times, most recently from f520b36 to f3d4850 Compare October 6, 2018 18:31
@mcktr
Copy link
Member Author

mcktr commented Oct 6, 2018

Updated the ITL CheckCommand to include the new parameter.

@@ -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$
Copy link
Contributor

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.

@mcktr mcktr force-pushed the feature/check-swap-show-used branch from 14330dc to ad1ab42 Compare October 8, 2018 19:17
@mcktr
Copy link
Member Author

mcktr commented Oct 8, 2018

Fixed the config test. Tests are now all green.

@dnsmichi
Copy link
Contributor

dnsmichi commented Oct 9, 2018

Thanks 👍

@dnsmichi dnsmichi added this to the 2.10.0 milestone Oct 9, 2018
@dnsmichi dnsmichi merged commit b2957bb into master Oct 9, 2018
@dnsmichi dnsmichi deleted the feature/check-swap-show-used branch October 9, 2018 06:36
@dnsmichi dnsmichi added area/windows Windows agent and plugins and removed area/windows Windows agent and plugins labels May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/windows Windows agent and plugins enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants