From 11c8eb896f9979fb74db99823353ec11563faf8c Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Fri, 13 Jul 2018 10:59:34 -0400 Subject: [PATCH] Change x/net context package to go stdlib --- physical/etcd/etcd3.go | 2 +- physical/etcd/etcd_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/physical/etcd/etcd3.go b/physical/etcd/etcd3.go index 4c9a008f4b..94e617997e 100644 --- a/physical/etcd/etcd3.go +++ b/physical/etcd/etcd3.go @@ -1,6 +1,7 @@ package etcd import ( + "context" "errors" "fmt" "os" @@ -18,7 +19,6 @@ import ( log "github.com/hashicorp/go-hclog" "github.com/hashicorp/vault/helper/strutil" "github.com/hashicorp/vault/physical" - "golang.org/x/net/context" ) // EtcdBackend is a physical backend that stores data at specific diff --git a/physical/etcd/etcd_test.go b/physical/etcd/etcd_test.go index c8b28b97dd..bbff4e8d87 100644 --- a/physical/etcd/etcd_test.go +++ b/physical/etcd/etcd_test.go @@ -1,6 +1,7 @@ package etcd import ( + "context" "fmt" "os" "testing" @@ -11,7 +12,6 @@ import ( "github.com/hashicorp/vault/physical" "github.com/coreos/etcd/client" - "golang.org/x/net/context" ) func TestEtcdBackend(t *testing.T) {