enhance typo

This commit is contained in:
garnier-quentin 2019-06-05 13:58:53 +02:00
parent a6695ab73c
commit 06e69db2f0
2 changed files with 22 additions and 22 deletions

View File

@ -33,15 +33,15 @@ sub new {
bless $self, $class;
$self->{version} = '1.0';
$options{options}->add_options(arguments =>
{
"hostname:s" => { name => 'hostname' },
"username:s" => { name => 'username' },
"password:s" => { name => 'password' },
"timeout:s" => { name => 'timeout', default => 30 },
"memory" => { name => 'memory' },
"command-plink:s" => { name => 'command_plink', default => 'plink' },
$options{options}->add_options(arguments => {
'hostname:s' => { name => 'hostname' },
'username:s' => { name => 'username' },
'password:s' => { name => 'password' },
'timeout:s' => { name => 'timeout', default => 30 },
'memory' => { name => 'memory' },
'command-plink:s' => { name => 'command_plink', default => 'plink' },
});
$self->{statefile_cache} = centreon::plugins::statefile->new(%options);
return $self;
}