Skip to content

Commit

Permalink
Bump google.golang.org/grpc from 1.36.0 to 1.56.0 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jun 21, 2023
1 parent ef5d6c3 commit ac94a19
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ require (
github.com/aws/aws-sdk-go-v2/config v1.18.27
github.com/aws/aws-sdk-go-v2/service/ecs v1.27.4
github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.4.1
github.com/envoyproxy/go-control-plane v0.9.9
github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/sirupsen/logrus v1.9.3
google.golang.org/grpc v1.36.0
google.golang.org/grpc v1.56.0
)

require (
Expand All @@ -24,14 +24,14 @@ require (
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.12 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.19.2 // indirect
github.com/aws/smithy-go v1.13.5 // indirect
github.com/census-instrumentation/opencensus-proto v0.2.1 // indirect
github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed // indirect
github.com/envoyproxy/protoc-gen-validate v0.1.0 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4 // indirect
github.com/envoyproxy/protoc-gen-validate v0.10.1 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
golang.org/x/net v0.0.0-20200822124328-c89045814202 // indirect
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
golang.org/x/text v0.3.0 // indirect
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect
google.golang.org/protobuf v1.25.0 // indirect
golang.org/x/net v0.9.0 // indirect
golang.org/x/sys v0.7.0 // indirect
golang.org/x/text v0.9.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/protobuf v1.30.0 // indirect
)
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (s *server) StreamEndpoints(stream endpointservice.EndpointDiscoveryService
if !cacheOk {
eds := s.generateEDS(req.ResourceNames[0])
response := cache.RawResponse{Version: strconv.FormatInt(time.Now().Unix(), 10),
Resources: []types.ResourceWithTtl{{Resource: eds}},
Resources: []types.ResourceWithTTL{{Resource: eds}},
Request: req}
cacheResp, _ = response.GetDiscoveryResponse()

Expand All @@ -102,7 +102,7 @@ func (s *server) FetchEndpoints(ctx context.Context, req *discovery.DiscoveryReq
eds := s.generateEDS(req.ResourceNames[0])
s.cache.Set(req.ResourceNames[0], eds, time.Second*30)
response := cache.RawResponse{Version: strconv.FormatInt(time.Now().Unix(), 10),
Resources: []types.ResourceWithTtl{{Resource: eds}},
Resources: []types.ResourceWithTTL{{Resource: eds}},
Request: req}
cacheResp, err = response.GetDiscoveryResponse()
s.cache.Set(req.ResourceNames[0], cacheResp, time.Minute*1)
Expand Down

0 comments on commit ac94a19

Please sign in to comment.