From a58f378f5fb7ba4de42a86517b57ec79a439a841 Mon Sep 17 00:00:00 2001 From: za Date: Tue, 19 Nov 2024 17:07:56 +0700 Subject: [PATCH] Add blank space before instance-id in log.Println before: ``` 2024/11/19 16:59:06 Waiting for instancei-0 to show up in AWS SSM ``` after: ``` 2024/11/19 16:59:06 Waiting for instance i-0 to show up in AWS SSM ``` --- v2/internal/utils/aws_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/internal/utils/aws_utils.go b/v2/internal/utils/aws_utils.go index 290b3f8d..28e1cc98 100644 --- a/v2/internal/utils/aws_utils.go +++ b/v2/internal/utils/aws_utils.go @@ -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.") }