Skip to content

Commit

Permalink
Update packages/testcontainers/src/container-runtime/auth/credential-…
Browse files Browse the repository at this point in the history
…provider.ts

Co-authored-by: Cristian Greco <[email protected]>
  • Loading branch information
HiranmayaGundu and cristianrgreco authored Jul 12, 2024
1 parent 4810713 commit 9f0cc68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export abstract class CredentialProvider implements RegistryAuthLocator {
return {
username: response.Username,
password: response.Secret,
registryAddress: response.ServerURL || credentialForRegistry,
registryAddress: response.ServerURL ?? credentialForRegistry,
};
}

Expand Down

0 comments on commit 9f0cc68

Please sign in to comment.