Skip to content

Commit 6200bc9

Browse files
authored
Merge branch 'akitasoftware:main' into main
2 parents 9784e05 + 2b1f57e commit 6200bc9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cmd/internal/ecs/add.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func getProfileState(wf *AddWorkflow) (nextState optionals.Optional[AddWorkflowS
213213

214214
err = survey.AskOne(
215215
&survey.Input{
216-
Message: "Which of your AWS profiles should Akita use to configure ECS?",
216+
Message: "Which of your AWS profiles should be used to configure ECS?",
217217
Help: "Enter the name of the AWS profile you use for configuring ECS, or leave blank to try the default profile. Akita needs this information to identify which AWS credentials to use.",
218218
// Use the existing value as the default in case we repeat this step
219219
Default: wf.awsProfile,
@@ -485,7 +485,7 @@ func getTaskState(wf *AddWorkflow) (nextState optionals.Optional[AddWorkflowStat
485485
var taskAnswer string
486486
err = survey.AskOne(
487487
&survey.Select{
488-
Message: "Which task should Akita monitor?",
488+
Message: "Which task should be monitored?",
489489
Help: "Select the ECS task definition to modify. We will add the Postman Live Collections Agent as a sidecar to the task.",
490490
Options: tasks,
491491
},
@@ -529,11 +529,11 @@ func getTaskState(wf *AddWorkflow) (nextState optionals.Optional[AddWorkflowStat
529529
}
530530
}
531531

532-
// Check that the Akita CLI is not already present
532+
// Check that the postman-lc-agent is not already present
533533
for _, container := range output.ContainerDefinitions {
534534
image := aws.ToString(container.Image)
535535
if matchesImage(image, postmanECRImage) || matchesImage(image, akitaECRImage) || matchesImage(image, akitaDockerImage) {
536-
printer.Errorf("The selected task definition already has the image %q; Akita is already installed.\n", image)
536+
printer.Errorf("The selected task definition already has the image %q; postman-lc-agent is already installed.\n", image)
537537
printer.Infof("Please select a different task definition, or hit Ctrl+C to exit.\n")
538538
return awf_next(getTaskState)
539539
}
@@ -614,7 +614,7 @@ func getServiceState(wf *AddWorkflow) (nextState optionals.Optional[AddWorkflowS
614614
err = survey.AskOne(
615615
&survey.Select{
616616
Message: "Which service should be updated to use the modified task definition?",
617-
Help: "Select the ECS service that will be updated with the modified task definition, so it can be monitored by Akita.",
617+
Help: "Select the ECS service that will be updated with the modified task definition, so it can be monitored.",
618618
Options: choices,
619619
Description: func(value string, _ int) string {
620620
return services[arn(value)]
@@ -808,7 +808,7 @@ func addSecretState(wf *AddWorkflow) (nextState optionals.Optional[AddWorkflowSt
808808
return awf_next(modifyTaskState)
809809
}
810810

811-
// Create a new revision of the task definition which includes the Akita container.
811+
// Create a new revision of the task definition which includes the postman-lc-agent container.
812812
func modifyTaskState(wf *AddWorkflow) (nextState optionals.Optional[AddWorkflowState], err error) {
813813
reportStep("Modify ECS Task Definition")
814814

0 commit comments

Comments
 (0)