mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 00:24:46 +02:00
Fix storage mode standard warning
This commit is contained in:
parent
897a00e834
commit
a60a2e13a7
@ -183,10 +183,10 @@ sub run {
|
|||||||
if ($total_size <= 0) {
|
if ($total_size <= 0) {
|
||||||
if ($multiple == 0) {
|
if ($multiple == 0) {
|
||||||
$self->{output}->add_option_msg(severity => 'UNKNOWN',
|
$self->{output}->add_option_msg(severity => 'UNKNOWN',
|
||||||
short_msg => sprintf("Skipping storage '%d': total size is <= 0 (%s)",
|
short_msg => sprintf("Skipping storage '%s': total size is <= 0 (%s)",
|
||||||
$name_storage, int($total_size)));
|
$name_storage, int($total_size)));
|
||||||
} else {
|
} else {
|
||||||
$self->{output}->add_option_msg(long_msg => sprintf("Skipping storage '%d': total size is <= 0 (%s)",
|
$self->{output}->add_option_msg(long_msg => sprintf("Skipping storage '%s': total size is <= 0 (%s)",
|
||||||
$name_storage, int($total_size)));
|
$name_storage, int($total_size)));
|
||||||
}
|
}
|
||||||
next;
|
next;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user