Browse Source

Gofmt

pull/416/head
Armon Dadgar 10 years ago
parent
commit
541b98a926
  1. 2
      command/agent/rpc.go
  2. 2
      command/agent/rpc_client.go
  3. 2
      consul/fsm.go
  4. 2
      consul/pool.go
  5. 2
      consul/rpc.go

2
command/agent/rpc.go

@ -24,9 +24,9 @@ package agent
import (
"bufio"
"fmt"
"github.com/hashicorp/go-msgpack/codec"
"github.com/hashicorp/logutils"
"github.com/hashicorp/serf/serf"
"github.com/hashicorp/go-msgpack/codec"
"io"
"log"
"net"

2
command/agent/rpc_client.go

@ -3,8 +3,8 @@ package agent
import (
"bufio"
"fmt"
"github.com/hashicorp/logutils"
"github.com/hashicorp/go-msgpack/codec"
"github.com/hashicorp/logutils"
"log"
"net"
"sync"

2
consul/fsm.go

@ -8,8 +8,8 @@ import (
"time"
"github.com/hashicorp/consul/consul/structs"
"github.com/hashicorp/raft"
"github.com/hashicorp/go-msgpack/codec"
"github.com/hashicorp/raft"
)
// consulFSM implements a finite state machine that is used

2
consul/pool.go

@ -11,9 +11,9 @@ import (
"sync/atomic"
"time"
"github.com/hashicorp/go-msgpack/codec"
"github.com/hashicorp/yamux"
"github.com/inconshreveable/muxado"
"github.com/hashicorp/go-msgpack/codec"
)
// msgpackHandle is a shared handle for encoding/decoding of RPC messages

2
consul/rpc.go

@ -5,9 +5,9 @@ import (
"fmt"
"github.com/armon/go-metrics"
"github.com/hashicorp/consul/consul/structs"
"github.com/hashicorp/go-msgpack/codec"
"github.com/hashicorp/yamux"
"github.com/inconshreveable/muxado"
"github.com/hashicorp/go-msgpack/codec"
"io"
"math/rand"
"net"

Loading…
Cancel
Save