Migrate "golang.org/x/net/context" -> "context" (#3333)

In some places, where ctxhttp or gRPC are concerned, we still need to use the
old contexts.
This commit is contained in:
Julius Volz 2017-10-24 21:21:42 -07:00 committed by GitHub
parent bd52950ce8
commit 099df0c5f0
43 changed files with 81 additions and 79 deletions

View file

@ -15,6 +15,7 @@ package opentsdb
import (
"bytes"
"context"
"encoding/json"
"fmt"
"io/ioutil"
@ -26,7 +27,6 @@ import (
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/prometheus/common/model"
"golang.org/x/net/context"
"golang.org/x/net/context/ctxhttp"
)