From 4d5d4d3979d37f9b3a40a13839e2a71d5bec30b9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Mar 2023 07:18:45 +0000 Subject: [PATCH 1/2] Bump github.com/GoogleCloudPlatform/k8s-cloud-provider Bumps [github.com/GoogleCloudPlatform/k8s-cloud-provider](https://github.com/GoogleCloudPlatform/k8s-cloud-provider) from 1.20.0 to 1.21.0. - [Release notes](https://github.com/GoogleCloudPlatform/k8s-cloud-provider/releases) - [Commits](https://github.com/GoogleCloudPlatform/k8s-cloud-provider/compare/v1.20.0...v1.21.0) --- updated-dependencies: - dependency-name: github.com/GoogleCloudPlatform/k8s-cloud-provider dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 964f2f0ab..1b7c9fc46 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( cloud.google.com/go/compute v1.18.0 cloud.google.com/go/container v1.13.1 cloud.google.com/go/iam v0.12.0 - github.com/GoogleCloudPlatform/k8s-cloud-provider v1.20.0 + github.com/GoogleCloudPlatform/k8s-cloud-provider v1.21.0 github.com/go-logr/logr v1.2.3 github.com/google/go-cmp v0.5.9 github.com/googleapis/gax-go/v2 v2.7.1 diff --git a/go.sum b/go.sum index e6b0b4e19..192a2e21b 100644 --- a/go.sum +++ b/go.sum @@ -73,8 +73,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU= github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/GoogleCloudPlatform/k8s-cloud-provider v1.20.0 h1:YzfIwJKTQrEfI01GNmniOXvbTNb4orp/2FkQR3SOV7Q= -github.com/GoogleCloudPlatform/k8s-cloud-provider v1.20.0/go.mod h1:udfkkDrxEo+LR3PoOyZI93UA0+yj9tETL2b+oucu1Gc= +github.com/GoogleCloudPlatform/k8s-cloud-provider v1.21.0 h1:HZlHHjryq6TMol/KQ6JkRF4c3bxxghsLExdlEUx69CA= +github.com/GoogleCloudPlatform/k8s-cloud-provider v1.21.0/go.mod h1:udfkkDrxEo+LR3PoOyZI93UA0+yj9tETL2b+oucu1Gc= github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ= github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= From ad04965a6861a0aa38da4d6cc14c97810710bfa7 Mon Sep 17 00:00:00 2001 From: cpanato Date: Tue, 14 Mar 2023 10:33:18 +0100 Subject: [PATCH 2/2] add Observe method to satisfy the interface Signed-off-by: cpanato --- cloud/scope/clients.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cloud/scope/clients.go b/cloud/scope/clients.go index 446a96ee6..e70db2a74 100644 --- a/cloud/scope/clients.go +++ b/cloud/scope/clients.go @@ -59,6 +59,11 @@ func (rl *GCPRateLimiter) Accept(ctx context.Context, key *cloud.RateLimitKey) e return nil } +// Observe does nothing. +func (rl *GCPRateLimiter) Observe(context.Context, error, *cloud.RateLimitKey) { + // noop +} + func newCloud(project string, service GCPServices) cloud.Cloud { return cloud.NewGCE(&cloud.Service{ GA: service.Compute,