enh(cloud/kubernetes): align services wording (#2646)
This commit is contained in:
parent
d968bc235c
commit
7318bf4d68
|
@ -166,7 +166,7 @@ sub manage_selection {
|
|||
}
|
||||
|
||||
if (scalar(keys %{$self->{deployments}}) <= 0) {
|
||||
$self->{output}->add_option_msg(short_msg => "No deployments found.");
|
||||
$self->{output}->add_option_msg(short_msg => "No Deployments found.");
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ sub set_counters {
|
|||
|
||||
$self->{maps_counters_type} = [
|
||||
{ name => 'nodes', type => 3, cb_prefix_output => 'prefix_output', cb_long_output => 'long_output',
|
||||
message_multiple => 'All nodes status are ok', indent_long_output => ' ',
|
||||
message_multiple => 'All Nodes status are ok', indent_long_output => ' ',
|
||||
group => [
|
||||
{ name => 'conditions', display_long => 1, cb_prefix_output => 'prefix_condition_output',
|
||||
message_multiple => 'Conditions are ok', type => 1, skipped_code => { -10 => 1 } },
|
||||
|
@ -142,7 +142,7 @@ sub manage_selection {
|
|||
}
|
||||
|
||||
if (scalar(keys %{$self->{nodes}}) <= 0) {
|
||||
$self->{output}->add_option_msg(short_msg => "No nodes found.");
|
||||
$self->{output}->add_option_msg(short_msg => "No Nodes found.");
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -103,7 +103,7 @@ sub set_counters {
|
|||
|
||||
$self->{maps_counters_type} = [
|
||||
{ name => 'nodes', type => 1, cb_prefix_output => 'prefix_node_output',
|
||||
message_multiple => 'All nodes usage are ok', skipped_code => { -11 => 1 } },
|
||||
message_multiple => 'All Nodes usage are ok', skipped_code => { -11 => 1 } },
|
||||
];
|
||||
|
||||
$self->{maps_counters}->{nodes} = [
|
||||
|
@ -216,7 +216,7 @@ sub manage_selection {
|
|||
}
|
||||
|
||||
if (scalar(keys %{$self->{nodes}}) <= 0) {
|
||||
$self->{output}->add_option_msg(short_msg => "No nodes found.");
|
||||
$self->{output}->add_option_msg(short_msg => "No Nodes found.");
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ sub set_counters {
|
|||
|
||||
$self->{maps_counters_type} = [
|
||||
{ name => 'pvs', type => 1, cb_prefix_output => 'prefix_pv_output',
|
||||
message_multiple => 'All persistent volume status are ok', skipped_code => { -11 => 1 } },
|
||||
message_multiple => 'All PersistentVolumes status are ok', skipped_code => { -11 => 1 } },
|
||||
];
|
||||
|
||||
$self->{maps_counters}->{pvs} = [
|
||||
|
@ -111,7 +111,7 @@ sub manage_selection {
|
|||
}
|
||||
|
||||
if (scalar(keys %{$self->{pvs}}) <= 0) {
|
||||
$self->{output}->add_option_msg(short_msg => "No persistent volumes found.");
|
||||
$self->{output}->add_option_msg(short_msg => "No PersistentVolumes found.");
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -126,7 +126,7 @@ sub set_counters {
|
|||
|
||||
$self->{maps_counters_type} = [
|
||||
{ name => 'pods', type => 3, cb_prefix_output => 'prefix_pod_output', cb_long_output => 'long_output',
|
||||
message_multiple => 'All pods status are ok', indent_long_output => ' ',
|
||||
message_multiple => 'All Pods status are ok', indent_long_output => ' ',
|
||||
group => [
|
||||
{ name => 'global', type => 0, skipped_code => { -10 => 1 } },
|
||||
{ name => 'containers', display_long => 1, cb_prefix_output => 'prefix_container_output',
|
||||
|
@ -286,7 +286,7 @@ sub manage_selection {
|
|||
}
|
||||
|
||||
if (scalar(keys %{$self->{pods}}) <= 0) {
|
||||
$self->{output}->add_option_msg(short_msg => "No pods found.");
|
||||
$self->{output}->add_option_msg(short_msg => "No Pods found.");
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue