deps: remove deprecated net/context (#13932)

The `golang.org/x/net/context` package was merged into the stdlib as of go
1.7. Update the imports to use the identical stdlib version. Clean up import
blocks for the impacted files to remove unnecessary package aliasing.
This commit is contained in:
Tim Gross
2022-07-28 14:46:56 -04:00
committed by GitHub
parent 5d8258ecab
commit ce14fc6e6b
10 changed files with 30 additions and 23 deletions

View File

@@ -1,11 +1,11 @@
package base
import (
"context"
"fmt"
plugin "github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/plugins/base/proto"
"golang.org/x/net/context"
)
// basePluginServer wraps a base plugin and exposes it via gRPC.