update rm deadcode

This commit is contained in:
baodev0
2026-09-27 11:42:40 +07:00
parent 82a71244ca
commit 3af59bd9c5
129 changed files with 5194 additions and 2698 deletions
@@ -3,6 +3,7 @@
namespace App\Http\Services\vCenter;
use App\Support\Cache\CacheKey;
use App\Support\TlsHttpClientFactory;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Log;
@@ -438,7 +439,7 @@ class SnapshotService
' . $soapBody . '
</soapenv:Envelope>';
curl_setopt_array($curl, array(
curl_setopt_array($curl, [
CURLOPT_URL => "https://$host/sdk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
@@ -449,10 +450,8 @@ class SnapshotService
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => $payload,
CURLOPT_HTTPHEADER => $headers,
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_HEADER => true // We need headers for cookie
));
] + TlsHttpClientFactory::vCenterCurlOptions());
$response = curl_exec($curl);