Skip to content

Commit ad04965

Browse files
committed
add Observe method to satisfy the interface
Signed-off-by: cpanato <[email protected]>
1 parent 4d5d4d3 commit ad04965

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cloud/scope/clients.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ func (rl *GCPRateLimiter) Accept(ctx context.Context, key *cloud.RateLimitKey) e
5959
return nil
6060
}
6161

62+
// Observe does nothing.
63+
func (rl *GCPRateLimiter) Observe(context.Context, error, *cloud.RateLimitKey) {
64+
// noop
65+
}
66+
6267
func newCloud(project string, service GCPServices) cloud.Cloud {
6368
return cloud.NewGCE(&cloud.Service{
6469
GA: service.Compute,

0 commit comments

Comments
 (0)