From b4bff3d4b1614ef32a49824df15019326ecd5e85 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Wed, 6 Sep 2023 17:03:04 -0400 Subject: all: migrate to cloud.google.com message types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Done with: go run cloud.google.com/go/internal/aliasfix/cmd/aliasfix@latest . go mod tidy As suggested in the package deprecation note¹. ¹ https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/tasks/v2#pkg-overview Change-Id: I78df9037198e5460a2e00339727a06282cf8a701 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/526315 Reviewed-by: Bryan Mills Auto-Submit: Dmitri Shuralyov kokoro-CI: kokoro Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI --- internal/queue/gcpqueue/queue.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/queue/gcpqueue/queue.go') diff --git a/internal/queue/gcpqueue/queue.go b/internal/queue/gcpqueue/queue.go index bd568528..e007bf0f 100644 --- a/internal/queue/gcpqueue/queue.go +++ b/internal/queue/gcpqueue/queue.go @@ -16,9 +16,9 @@ import ( "strings" "time" - "cloud.google.com/go/cloudtasks/apiv2" + cloudtasks "cloud.google.com/go/cloudtasks/apiv2" + taskspb "cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb" "golang.org/x/pkgsite/internal/config/serverconfig" - taskspb "google.golang.org/genproto/googleapis/cloud/tasks/v2" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/durationpb" -- cgit v1.3-5-g9baa