mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
(plugin) storage::emc::vplex::restapi - default backend curl (#3881)
This commit is contained in:
parent
7d8c202d41
commit
7569526acc
@ -52,7 +52,7 @@ sub new {
|
|||||||
$options{options}->add_help(package => __PACKAGE__, sections => 'REST API V1 OPTIONS', once => 1);
|
$options{options}->add_help(package => __PACKAGE__, sections => 'REST API V1 OPTIONS', once => 1);
|
||||||
|
|
||||||
$self->{output} = $options{output};
|
$self->{output} = $options{output};
|
||||||
$self->{http} = centreon::plugins::http->new(%options);
|
$self->{http} = centreon::plugins::http->new(%options, default_backend => 'curl');
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ sub new {
|
|||||||
$options{options}->add_help(package => __PACKAGE__, sections => 'REST API V2 OPTIONS', once => 1);
|
$options{options}->add_help(package => __PACKAGE__, sections => 'REST API V2 OPTIONS', once => 1);
|
||||||
|
|
||||||
$self->{output} = $options{output};
|
$self->{output} = $options{output};
|
||||||
$self->{http} = centreon::plugins::http->new(%options);
|
$self->{http} = centreon::plugins::http->new(%options, default_backend => 'curl');
|
||||||
$self->{cache} = centreon::plugins::statefile->new(%options);
|
$self->{cache} = centreon::plugins::statefile->new(%options);
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user