Skip to content

Commit 7d28bec

Browse files
author
Devansh Thakur
committed
updated output message for create and update runner
1 parent addfae9 commit 7d28bec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/cmd/beta/intake/runner/create/create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ func buildRequest(ctx context.Context, model *inputModel, apiClient *intake.APIC
156156
func outputResult(p *print.Printer, outputFormat, projectLabel string, resp *intake.IntakeRunnerResponse) error {
157157
return p.OutputResult(outputFormat, resp, func() error {
158158
if resp == nil {
159-
p.Outputf("Created Intake Runner for project %q, but no runner ID was returned.\n", projectLabel)
159+
p.Outputf("Triggered creation of Intake Runner for project %q, but no runner ID was returned.\n", projectLabel)
160160
return nil
161161
}
162-
p.Outputf("Created Intake Runner for project %q. Runner ID: %s\n", projectLabel, utils.PtrString(resp.Id))
162+
p.Outputf("Triggered creation of Intake Runner for project %q. Runner ID: %s\n", projectLabel, utils.PtrString(resp.Id))
163163
return nil
164164
})
165165
}

internal/cmd/beta/intake/runner/update/update.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ func buildRequest(ctx context.Context, model *inputModel, apiClient *intake.APIC
162162
func outputResult(p *print.Printer, outputFormat, projectLabel string, resp *intake.IntakeRunnerResponse) error {
163163
return p.OutputResult(outputFormat, resp, func() error {
164164
if resp == nil {
165-
p.Outputf("Updated Intake Runner for project %q, but no runner ID was returned.\n", projectLabel)
165+
p.Outputf("Triggered update of Intake Runner for project %q, but no runner ID was returned.\n", projectLabel)
166166
return nil
167167
}
168-
p.Outputf("Updated Intake Runner for project %q. Runner ID: %s\n", projectLabel, utils.PtrString(resp.Id))
168+
p.Outputf("Triggered update of Intake Runner for project %q. Runner ID: %s\n", projectLabel, utils.PtrString(resp.Id))
169169
return nil
170170
})
171171
}

0 commit comments

Comments
 (0)