From 1c94d66f6ea1b63e5900b696d4ea5997749ec234 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 1 Mar 2019 13:13:27 +0100 Subject: [PATCH] Fix typo in mscs network status mode --- apps/cluster/mscs/local/mode/networkstatus.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/cluster/mscs/local/mode/networkstatus.pm b/apps/cluster/mscs/local/mode/networkstatus.pm index fd873bb26..7236f2c80 100644 --- a/apps/cluster/mscs/local/mode/networkstatus.pm +++ b/apps/cluster/mscs/local/mode/networkstatus.pm @@ -78,7 +78,7 @@ sub new { "filter-name:s" => { name => 'filter_name' }, "unknown-status:s" => { name => 'unknown_status', default => '%{state} =~ /unknown/' }, "warning-status:s" => { name => 'warning_status', default => '' }, - "critical-status:s" => { name => 'critical_status', default => '%{state} =~ /down|paritioned|unavailable/' }, + "critical-status:s" => { name => 'critical_status', default => '%{state} =~ /down|partitioned|unavailable/' }, }); return $self; @@ -95,7 +95,7 @@ my %map_state = ( -1 => 'unknown', 0 => 'unavailable', 1 => 'down', - 2 => 'paritioned', + 2 => 'partitioned', 3 => 'up', ); @@ -153,7 +153,7 @@ Can used special variables like: %{state}, %{display} =item B<--critical-status> -Set critical threshold for status (Default: '%{state} =~ /down|paritioned|unavailable/'). +Set critical threshold for status (Default: '%{state} =~ /down|partitioned|unavailable/'). Can used special variables like: %{state}, %{display} =back