Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not print set IDs when updating build IDs #329

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions taskqueue/task_queue_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,11 @@ func updateBuildIDs(c *cli.Context, partialReq workflowservice.UpdateWorkerBuild
Operation: partialReq.Operation,
}

resp, err := frontendClient.UpdateWorkerBuildIdCompatibility(ctx, request)
if err != nil {
return fmt.Errorf("error updating task queue build ids: %w", err)
if _, err = frontendClient.UpdateWorkerBuildIdCompatibility(ctx, request); err != nil {
return fmt.Errorf("error updating task queue build IDs: %w", err)
}

fmt.Println(color.Green(c, "Successfully updated task queue build ids. Set ID: %v", resp.GetVersionSetId()))
fmt.Println(color.Green(c, "Successfully updated task queue build IDs"))

return nil
}
Expand Down
Loading