diff --git a/command/agent/rpc.go b/command/agent/rpc.go index 2a6960d1a0..784c6c46f7 100644 --- a/command/agent/rpc.go +++ b/command/agent/rpc.go @@ -26,7 +26,7 @@ import ( "fmt" "github.com/hashicorp/logutils" "github.com/hashicorp/serf/serf" - "github.com/ugorji/go/codec" + "github.com/hashicorp/go-msgpack/codec" "io" "log" "net" diff --git a/command/agent/rpc_client.go b/command/agent/rpc_client.go index 9c35229629..a64ec4d53a 100644 --- a/command/agent/rpc_client.go +++ b/command/agent/rpc_client.go @@ -4,7 +4,7 @@ import ( "bufio" "fmt" "github.com/hashicorp/logutils" - "github.com/ugorji/go/codec" + "github.com/hashicorp/go-msgpack/codec" "log" "net" "sync" diff --git a/command/agent/util.go b/command/agent/util.go index c91a6dbc44..f1a88df4e3 100644 --- a/command/agent/util.go +++ b/command/agent/util.go @@ -11,7 +11,7 @@ import ( "runtime" "time" - "github.com/ugorji/go/codec" + "github.com/hashicorp/go-msgpack/codec" ) const ( diff --git a/consul/fsm.go b/consul/fsm.go index ec5c72b7b2..58cfe59517 100644 --- a/consul/fsm.go +++ b/consul/fsm.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/consul/consul/structs" "github.com/hashicorp/raft" - "github.com/ugorji/go/codec" + "github.com/hashicorp/go-msgpack/codec" ) // consulFSM implements a finite state machine that is used diff --git a/consul/mdb_table_test.go b/consul/mdb_table_test.go index f67d0cc418..e70c9131f0 100644 --- a/consul/mdb_table_test.go +++ b/consul/mdb_table_test.go @@ -3,7 +3,7 @@ package consul import ( "bytes" "github.com/armon/gomdb" - "github.com/ugorji/go/codec" + "github.com/hashicorp/go-msgpack/codec" "io/ioutil" "os" "reflect" diff --git a/consul/pool.go b/consul/pool.go index 84214d2a46..70afb0ff0d 100644 --- a/consul/pool.go +++ b/consul/pool.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/yamux" "github.com/inconshreveable/muxado" - "github.com/ugorji/go/codec" + "github.com/hashicorp/go-msgpack/codec" ) // msgpackHandle is a shared handle for encoding/decoding of RPC messages diff --git a/consul/rpc.go b/consul/rpc.go index d2d6459e09..1607bd22c1 100644 --- a/consul/rpc.go +++ b/consul/rpc.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/consul/consul/structs" "github.com/hashicorp/yamux" "github.com/inconshreveable/muxado" - "github.com/ugorji/go/codec" + "github.com/hashicorp/go-msgpack/codec" "io" "math/rand" "net" diff --git a/consul/status_endpoint_test.go b/consul/status_endpoint_test.go index 15cb2dcfcd..419c174bc0 100644 --- a/consul/status_endpoint_test.go +++ b/consul/status_endpoint_test.go @@ -2,7 +2,7 @@ package consul import ( "github.com/hashicorp/consul/testutil" - "github.com/ugorji/go/codec" + "github.com/hashicorp/go-msgpack/codec" "net" "net/rpc" "os" diff --git a/consul/structs/structs.go b/consul/structs/structs.go index 5b3597bba4..c2585b1320 100644 --- a/consul/structs/structs.go +++ b/consul/structs/structs.go @@ -6,7 +6,7 @@ import ( "time" "github.com/hashicorp/consul/acl" - "github.com/ugorji/go/codec" + "github.com/hashicorp/go-msgpack/codec" ) var (