Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/task: move NewTaskRequest.Properties into TaskSlices field
The top-level Properties field is deprecated¹ in favor of using TaskSlices[0].Properties, so start using the new approach, as already done in the ./internal/gomote package. The same applies to the ExpirationSecs² field. ¹ https://pkg.go.dev/go.chromium.org/luci@v0.0.0-20241101193118-2a5f92ed1087/swarming/proto/api_v2#NewTaskRequest.Properties ² https://pkg.go.dev/go.chromium.org/luci@v0.0.0-20241101193118-2a5f92ed1087/swarming/proto/api_v2#NewTaskRequest.ExpirationSecs Change-Id: Icfcac66f83e61790b4507b8eb5f8170dbcbfe194 Reviewed-on: https://go-review.googlesource.com/c/build/+/623822 Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
- Loading branch information