From 12785e80da2b631bcc3963ac0987fca80e8fdeed Mon Sep 17 00:00:00 2001 From: Lucie Dubrunfaut Date: Thu, 27 Feb 2025 15:44:28 +0100 Subject: [PATCH 1/2] fix(storage::purestorage::flasharray::v2::restapi): fixed wrong option filter-resolution in arrays and volumes mode --- src/storage/purestorage/flasharray/v2/restapi/mode/arrays.pm | 2 +- src/storage/purestorage/flasharray/v2/restapi/mode/volumes.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/storage/purestorage/flasharray/v2/restapi/mode/arrays.pm b/src/storage/purestorage/flasharray/v2/restapi/mode/arrays.pm index e53952497..c4ce57912 100644 --- a/src/storage/purestorage/flasharray/v2/restapi/mode/arrays.pm +++ b/src/storage/purestorage/flasharray/v2/restapi/mode/arrays.pm @@ -262,7 +262,7 @@ Filter arrays by ID (can be a regexp). Filter arrays by name (can be a regexp). -=item B<--filter-resolution> +=item B<--perf-resolution> Time resolution for array performance. Can be: 1s, 30s, 5m, 30m, 2h, 8h, 24h (default: 5m). diff --git a/src/storage/purestorage/flasharray/v2/restapi/mode/volumes.pm b/src/storage/purestorage/flasharray/v2/restapi/mode/volumes.pm index 7c4be1f9b..5c2bd5897 100644 --- a/src/storage/purestorage/flasharray/v2/restapi/mode/volumes.pm +++ b/src/storage/purestorage/flasharray/v2/restapi/mode/volumes.pm @@ -245,9 +245,9 @@ Filter volumes by ID (can be a regexp). Filter volumes by name (can be a regexp). -=item B<--filter-resolution> +=item B<--perf-resolution> -Time resolution for array performance. +Time resolution for volumes performance. Can be: 1s, 30s, 5m, 30m, 2h, 8h, 24h (default: 5m). =item B<--warning-*> B<--critical-*> From 81bcdc4a7ef61b153cf07d29860eaf5938190ae1 Mon Sep 17 00:00:00 2001 From: Lucie Dubrunfaut Date: Thu, 27 Feb 2025 15:50:03 +0100 Subject: [PATCH 2/2] fix spellcheck --- src/storage/purestorage/flasharray/v2/restapi/mode/arrays.pm | 2 +- src/storage/purestorage/flasharray/v2/restapi/mode/volumes.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storage/purestorage/flasharray/v2/restapi/mode/arrays.pm b/src/storage/purestorage/flasharray/v2/restapi/mode/arrays.pm index c4ce57912..f1add4ffb 100644 --- a/src/storage/purestorage/flasharray/v2/restapi/mode/arrays.pm +++ b/src/storage/purestorage/flasharray/v2/restapi/mode/arrays.pm @@ -265,7 +265,7 @@ Filter arrays by name (can be a regexp). =item B<--perf-resolution> Time resolution for array performance. -Can be: 1s, 30s, 5m, 30m, 2h, 8h, 24h (default: 5m). +Can be: C<1s>, C<30s>, C<5m>, C<30m>, C<2h>, C<8h>, C<24h> (default: C<5m>). =item B<--warning-*> B<--critical-*> diff --git a/src/storage/purestorage/flasharray/v2/restapi/mode/volumes.pm b/src/storage/purestorage/flasharray/v2/restapi/mode/volumes.pm index 5c2bd5897..0b4fc5a10 100644 --- a/src/storage/purestorage/flasharray/v2/restapi/mode/volumes.pm +++ b/src/storage/purestorage/flasharray/v2/restapi/mode/volumes.pm @@ -248,7 +248,7 @@ Filter volumes by name (can be a regexp). =item B<--perf-resolution> Time resolution for volumes performance. -Can be: 1s, 30s, 5m, 30m, 2h, 8h, 24h (default: 5m). +Can be: C<1s>, C<30s>, C<5m>, C<30m>, C<2h>, C<8h>, C<24h> (default: C<5m>). =item B<--warning-*> B<--critical-*>