From ca793d88a9648b714873c7ae6e6ef7824b5cd62f Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Mon, 15 Jul 2019 13:21:54 +0200 Subject: [PATCH] fix ilo hp --- hardware/server/hp/ilo/xmlapi/custom/api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/server/hp/ilo/xmlapi/custom/api.pm b/hardware/server/hp/ilo/xmlapi/custom/api.pm index 7545ca755..d7dfd9dbb 100644 --- a/hardware/server/hp/ilo/xmlapi/custom/api.pm +++ b/hardware/server/hp/ilo/xmlapi/custom/api.pm @@ -107,7 +107,7 @@ sub check_options { } } if (!defined($self->{option_results}->{curl_opt})) { - $self->{option_results}->{curl_opt} = ['URLOPT_SSL_VERIFYPEER => 0']; + $self->{option_results}->{curl_opt} = ['CURLOPT_SSL_VERIFYPEER => 0']; } $self->{http}->set_options(%{$self->{option_results}});