Skip to content

Commit

Permalink
Add blank space before instance-id in log.Println (#597)
Browse files Browse the repository at this point in the history
before:
```
2024/11/19 16:59:06 Waiting for instancei-0<snipped> to show up in AWS SSM
```

after:
```
2024/11/19 16:59:06 Waiting for instance i-0<snipped> to show up in AWS SSM
```
  • Loading branch information
za authored Feb 11, 2025
1 parent 45b338a commit 654edae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/internal/utils/aws_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func UploadFile(s3Client *s3.Client, bucketName string, filename string, content
// may be slow (60+ seconds)
func WaitForInstancesToRegisterInSSM(ssmClient *ssm.Client, instanceIds []string) error {
if len(instanceIds) == 1 {
log.Println("Waiting for instance" + instanceIds[0] + " to show up in AWS SSM")
log.Println("Waiting for instance " + instanceIds[0] + " to show up in AWS SSM")
} else {
log.Println("Waiting for " + strconv.Itoa(len(instanceIds)) + " instances to show up in AWS SSM. This can take a few minutes.")
}
Expand Down

0 comments on commit 654edae

Please sign in to comment.