Skip to content

Commit

Permalink
Migrate to v2 cloud monitoring api as v1 is deprecated
Browse files Browse the repository at this point in the history
Test: Presubmits pass
Bug: b/303263153
Change-Id: Id3b1b27d0c5b8c887164e4548750997e8d8af65e
GitOrigin-RevId: 463439782a7c02688ae4166b91b63ad3d506d2d5
  • Loading branch information
bentekkie authored and copybara-github committed Jul 9, 2024
1 parent 08b212a commit 4ed9c46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"@com_github_pkg_xattr//:xattr",
"@com_google_cloud_go_monitoring//apiv3",
"@com_google_cloud_go_monitoring//apiv3/v2:apiv3",
"@com_google_cloud_go_storage//:storage",
"@org_golang_x_tools//go/analysis",
],
Expand Down
2 changes: 1 addition & 1 deletion tools/imports.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package tools
import (
// Dependencies of non-exported code, specified here so that
// go.mod and go.sum remain consistent
_ "cloud.google.com/go/monitoring/apiv3"
_ "cloud.google.com/go/monitoring/apiv3/v2"
_ "cloud.google.com/go/storage"
_ "github.com/pkg/xattr"

Expand Down

0 comments on commit 4ed9c46

Please sign in to comment.