Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Switch to context package in go stdlib #1114

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ require (
github.com/stretchr/testify v1.9.0
github.com/urfave/cli/v2 v2.27.5
golang.org/x/mod v0.20.0
golang.org/x/net v0.30.0
google.golang.org/grpc v1.65.1
k8s.io/api v0.31.3
k8s.io/apimachinery v0.31.3
Expand Down Expand Up @@ -64,6 +63,7 @@ require (
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/oauth2 v0.21.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/term v0.25.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion internal/plugin/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package plugin

import (
"context"
"errors"
"fmt"
"net"
Expand All @@ -34,7 +35,6 @@ import (
"github.com/NVIDIA/k8s-device-plugin/internal/rm"

"github.com/google/uuid"
"golang.org/x/net/context"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"

Expand Down
56 changes: 0 additions & 56 deletions vendor/golang.org/x/net/context/context.go

This file was deleted.

72 changes: 0 additions & 72 deletions vendor/golang.org/x/net/context/go17.go

This file was deleted.

20 changes: 0 additions & 20 deletions vendor/golang.org/x/net/context/go19.go

This file was deleted.

Loading
Loading