Browse Source

*: cleanup import

Xiang Li 11 years ago
parent
commit
99840c9697
4 changed files with 4 additions and 8 deletions
  1. 1 2
      rafthttp/http.go
  2. 1 2
      rafthttp/http_test.go
  3. 1 2
      rafthttp/streamer.go
  4. 1 2
      rafthttp/transport.go

+ 1 - 2
rafthttp/http.go

@@ -22,11 +22,10 @@ import (
 	"strconv"
 	"strings"
 
+	"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
 	pioutil "github.com/coreos/etcd/pkg/ioutil"
 	"github.com/coreos/etcd/pkg/types"
 	"github.com/coreos/etcd/raft/raftpb"
-
-	"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
 )
 
 const (

+ 1 - 2
rafthttp/http_test.go

@@ -23,11 +23,10 @@ import (
 	"strings"
 	"testing"
 
+	"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
 	"github.com/coreos/etcd/pkg/pbutil"
 	"github.com/coreos/etcd/pkg/types"
 	"github.com/coreos/etcd/raft/raftpb"
-
-	"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
 )
 
 func TestServeRaft(t *testing.T) {

+ 1 - 2
rafthttp/streamer.go

@@ -27,11 +27,10 @@ import (
 	"sync"
 	"time"
 
+	"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
 	"github.com/coreos/etcd/etcdserver/stats"
 	"github.com/coreos/etcd/pkg/types"
 	"github.com/coreos/etcd/raft/raftpb"
-
-	"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
 )
 
 const (

+ 1 - 2
rafthttp/transport.go

@@ -21,11 +21,10 @@ import (
 	"path"
 	"sync"
 
+	"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
 	"github.com/coreos/etcd/etcdserver/stats"
 	"github.com/coreos/etcd/pkg/types"
 	"github.com/coreos/etcd/raft/raftpb"
-
-	"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
 )
 
 type Raft interface {