Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/coordinator/internal/legacydash: don't clobber ResultData slice
during append Back when there was only one source of result data (Datastore), the CommitInfo.ResultData field was only assigned to. By now, it's also sometimes appended to. Remove extra capacity in the shared slice so that appending results to the same x/ repo commit (i.e., a total of three times: for the main branch, and two release branches) is fine. This happened not to come up during local development, at least not until Datastore permissions were setup to permit its use, but it is easy to see on build.golang.org. For golang/go#65913. Change-Id: Id19ddf389f8d7ac4d69f2ac8477443005b9671ef Reviewed-on: https://go-review.googlesource.com/c/build/+/574557 Reviewed-by: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
- Loading branch information