Skip to content

Commit 4f36289

Browse files
committed
add comment
1 parent f31ac88 commit 4f36289

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/awsService/ec2/sshKeyPair.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export class SshKeyPair {
3737
if (!keyGenerated) {
3838
throw new ToolkitError('ec2: Unable to generate ssh key pair with either ed25519 or rsa')
3939
}
40+
// waitUntil avoids Windows race condition of using key right after creation.
4041
const maxRetries = 5
4142
await waitUntil(
4243
async () => {

0 commit comments

Comments
 (0)