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 b1c503a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions taskqueue/task_queue_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ func updateBuildIDs(c *cli.Context, partialReq workflowservice.UpdateWorkerBuild
Operation: partialReq.Operation,
}

resp, err := frontendClient.UpdateWorkerBuildIdCompatibility(ctx, request)
_, err := frontendClient.UpdateWorkerBuildIdCompatibility(ctx, request)

Check failure on line 268 in taskqueue/task_queue_commands.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

no new variables on left side of :=

Check failure on line 268 in taskqueue/task_queue_commands.go

View workflow job for this annotation

GitHub Actions / test (macos-latest)

no new variables on left side of :=
if err != nil {
return fmt.Errorf("error updating task queue build ids: %w", err)
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 b1c503a

Please sign in to comment.