mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 15:14:16 +02:00
enhance indent
This commit is contained in:
parent
891c2fa625
commit
48761dac52
@ -66,22 +66,21 @@ sub new {
|
||||
my $self = $class->SUPER::new(package => __PACKAGE__, %options);
|
||||
bless $self, $class;
|
||||
|
||||
$options{options}->add_options(arguments =>
|
||||
{
|
||||
"hostname:s" => { name => 'hostname' },
|
||||
"remote" => { name => 'remote' },
|
||||
"ssh-option:s@" => { name => 'ssh_option' },
|
||||
"ssh-path:s" => { name => 'ssh_path' },
|
||||
"ssh-command:s" => { name => 'ssh_command', default => 'ssh' },
|
||||
"timeout:s" => { name => 'timeout', default => 30 },
|
||||
"sudo" => { name => 'sudo' },
|
||||
"command:s" => { name => 'command', default => 'lvs' },
|
||||
"command-path:s" => { name => 'command_path' },
|
||||
"command-options:s" => { name => 'command_options', default => '--separator="," 2>&1' },
|
||||
"filter-lv:s" => { name => 'filter_lv', },
|
||||
"filter-vg:s" => { name => 'filter_vg', },
|
||||
$options{options}->add_options(arguments => {
|
||||
'hostname:s' => { name => 'hostname' },
|
||||
'remote' => { name => 'remote' },
|
||||
'ssh-option:s@' => { name => 'ssh_option' },
|
||||
'ssh-path:s' => { name => 'ssh_path' },
|
||||
'ssh-command:s' => { name => 'ssh_command', default => 'ssh' },
|
||||
'timeout:s' => { name => 'timeout', default => 30 },
|
||||
'sudo' => { name => 'sudo' },
|
||||
'command:s' => { name => 'command', default => 'lvs' },
|
||||
'command-path:s' => { name => 'command_path' },
|
||||
'command-options:s' => { name => 'command_options', default => '--separator="," 2>&1' },
|
||||
'filter-lv:s' => { name => 'filter_lv' },
|
||||
'filter-vg:s' => { name => 'filter_vg' }
|
||||
});
|
||||
$self->{result} = {};
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
||||
@ -98,7 +97,6 @@ sub manage_selection {
|
||||
no_quit => 1
|
||||
);
|
||||
$self->{dlvm} = {};
|
||||
|
||||
# LV,VG,Attr,LSize,Pool,Origin,Data%,Meta%,Move,Log,Cpy%Sync,Convert
|
||||
# thinpool,docker,twi-aot---,71.25g,,,1.95,0.06,,,,
|
||||
# lv_controlm,vg_sys,-wi-ao----,5.00g,,,,,,,,
|
||||
|
Loading…
x
Reference in New Issue
Block a user