Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/spec-configuration/httpOCIRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export async function requestEnsureAuthenticated(params: CommonParams, httpOptio
// Attempt to authenticate via WWW-Authenticate Header.
const wwwAuthenticate = initialAttemptRes.resHeaders['WWW-Authenticate'] || initialAttemptRes.resHeaders['www-authenticate'];
if (!wwwAuthenticate) {
output.write(`[httpOci] ERR: Server did not provide instructions to authentiate! (Required: A 'WWW-Authenticate' Header)`, LogLevel.Error);
output.write(`[httpOci] ERR: Server did not provide instructions to authenticate! (Required: A 'WWW-Authenticate' Header)`, LogLevel.Error);
return;
}

Expand Down Expand Up @@ -428,4 +428,4 @@ async function fetchRegistryBearerToken(params: CommonParams, ociRef: OCIRef | O
}

return scopeToken;
}
}