Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
  • Loading branch information
joshspicer and samruddhikhandale committed Dec 6, 2022
1 parent cdd92f5 commit fd4de3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spec-configuration/containerCollectionsOCI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export async function fetchAuthorization(output: Log, registry: string, ociRepoP
const basicAuthTokenBase64 = await getBasicAuthCredential(output, registry, env);
const scopeToken = await generateScopeTokenCredential(output, registry, ociRepoPath, env, operationScopes, basicAuthTokenBase64);

// Prefer returned a Bearer token retreived from the /token endpoint.
// Prefer returned a Bearer token retrieved from the /token endpoint.
if (scopeToken) {
output.write(`Using scope token for registry '${registry}'`, LogLevel.Trace);
return `Bearer ${scopeToken}`;
Expand Down

0 comments on commit fd4de3f

Please sign in to comment.