mirror of
https://github.com/unraid/webgui.git
synced 2026-05-01 15:29:20 -05:00
Fix indent in DockerClient
This commit is contained in:
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])) {
|
||||
|
||||
Reference in New Issue
Block a user