Fix indent in DockerClient

This commit is contained in:
Jeremy Chabernaud
2023-02-03 13:48:55 +01:00
committed by GitHub
parent 7824a78172
commit ade217d819
@@ -445,7 +445,7 @@ class DockerUpdate{
/*
* Step 2: Get www-authenticate header from manifest url to generate token or basic auth
*/
$header = ['Accept: application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.index.v1+json'];
$header = ['Accept: application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.index.v1+json'];
$digest_ch = getCurlHandle($manifestURL, 'HEAD', $header);
preg_match('@www-authenticate:\s*Bearer\s*(.*)@i', $reply, $matches);
if (!empty($matches[1])) {