mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user