Skip to content

Commit

Permalink
Do not print set IDs when updating build IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
bergundy committed Sep 8, 2023
1 parent 0131cd1 commit b509d64
Showing 1 changed file with 3 additions and 4 deletions.
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

0 comments on commit b509d64

Please sign in to comment.