mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
(passmanager) use curl backend by default (#3650)
This commit is contained in:
parent
9ff3b84274
commit
ed3b452d6e
@ -56,7 +56,7 @@ sub new {
|
|||||||
$options{options}->add_help(package => __PACKAGE__, sections => 'VAULT OPTIONS');
|
$options{options}->add_help(package => __PACKAGE__, sections => 'VAULT OPTIONS');
|
||||||
|
|
||||||
$self->{output} = $options{output};
|
$self->{output} = $options{output};
|
||||||
$self->{http} = centreon::plugins::http->new(%options, noptions => 1);
|
$self->{http} = centreon::plugins::http->new(%options, noptions => 1, default_backend => 'curl');
|
||||||
return $self;
|
return $self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ sub new {
|
|||||||
$options{options}->add_help(package => __PACKAGE__, sections => 'TEAMPASS OPTIONS');
|
$options{options}->add_help(package => __PACKAGE__, sections => 'TEAMPASS OPTIONS');
|
||||||
|
|
||||||
$self->{output} = $options{output};
|
$self->{output} = $options{output};
|
||||||
$self->{http} = centreon::plugins::http->new(%options, noptions => 1);
|
$self->{http} = centreon::plugins::http->new(%options, noptions => 1, default_backend => 'curl');
|
||||||
$JSON::Path::Safe = 0;
|
$JSON::Path::Safe = 0;
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user