Skip to content

Commit

Permalink
Bump google.golang.org/grpc from 1.63.2 to 1.64.0 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] committed Jun 4, 2024
1 parent 4293f20 commit 4a3adb3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.9.0
google.golang.org/grpc v1.63.2
google.golang.org/grpc v1.64.0
google.golang.org/protobuf v1.34.1
k8s.io/apimachinery v0.30.1
k8s.io/cri-api v0.30.1
Expand All @@ -28,6 +28,6 @@ require (
golang.org/x/net v0.23.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
8 changes: 4 additions & 4 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func Run(logger *slog.Logger, criSocketPath string, dockerConfigJSONPath string,
ctx, cancel := context.WithTimeout(context.Background(), timing.OverallTimeout)
defer cancel()

criConn, err := grpc.DialContext(ctx, "unix://"+criSocketPath, grpc.WithTransportCredentials(insecure.NewCredentials()))
criConn, err := grpc.NewClient("unix://"+criSocketPath, grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
return fmt.Errorf("failed to dial CRI socket %q: %w", criSocketPath, err)
}
Expand All @@ -44,7 +44,7 @@ func Run(logger *slog.Logger, criSocketPath string, dockerConfigJSONPath string,

var metricsSink *submitter.Submitter
if metricsEndpoint != "" {
metricsConn, err := grpc.DialContext(ctx, metricsEndpoint, grpc.WithTransportCredentials(insecure.NewCredentials()))
metricsConn, err := grpc.NewClient(metricsEndpoint, grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
return fmt.Errorf("failed to dial metrics endpoint %q: %w", metricsEndpoint, err)
}
Expand Down

0 comments on commit 4a3adb3

Please sign in to comment.