Merge pull request #801 from jaffee/remove-net-ctx

use context everywhere instead of golang.org version
This commit is contained in:
Matthew Jaffee 2017-08-31 09:38:30 -05:00 committed by GitHub
commit 5482eb87fb
4 changed files with 4 additions and 4 deletions

2
Gopkg.lock generated
View file

@ -194,6 +194,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "84ff0992f3a6023a9d4832d6aea43d6aec19878a4b9e991ba8ff8269b589e816"
inputs-digest = "e8e78a7c61547d8f4d967c8deac9334b3151e7c10c4f7909e80758956e9c8204"
solver-name = "gps-cdcl"
solver-version = 1

View file

@ -16,13 +16,13 @@ package ctl
import (
"bytes"
"context"
"net/http"
"strings"
"testing"
"github.com/pilosa/pilosa"
"github.com/pilosa/pilosa/test"
"golang.org/x/net/context"
)
func TestExportCommand_Validation(t *testing.T) {

View file

@ -16,6 +16,7 @@ package ctl
import (
"bytes"
"context"
"io"
"io/ioutil"
"net/http"
@ -24,7 +25,6 @@ import (
"github.com/pilosa/pilosa"
"github.com/pilosa/pilosa/test"
"golang.org/x/net/context"
)
func TestImportCommand_Validation(t *testing.T) {

View file

@ -17,13 +17,13 @@ package ctl
import (
"bufio"
"bytes"
"context"
"io"
"io/ioutil"
"testing"
"github.com/pilosa/pilosa"
"github.com/pilosa/pilosa/test"
"golang.org/x/net/context"
)
func TestRestoreCommand_FileRequired(t *testing.T) {