Causes go-etcd to fail to compile, I've created a PR https://github.com/coreos/go-etcd/pull/250. To work around for now you can add the following to patch go-etcd before compiling registrator.
go get -u github.com/ugorji/go/codec/codecgen
go get -u github.com/coreos/go-etcd/etcd
cd /go/src/github.com/coreos/go-etcd/etcd
/go/bin/codecgen -d 1978 -o response.generated.go response.go
This change: https://github.com/ugorji/go/commit/54210f4e076c57f351166f0ed60e67d3fca57a36
Causes go-etcd to fail to compile, I've created a PR https://github.com/coreos/go-etcd/pull/250. To work around for now you can add the following to patch go-etcd before compiling registrator.
go get -u github.com/ugorji/go/codec/codecgen go get -u github.com/coreos/go-etcd/etcd cd /go/src/github.com/coreos/go-etcd/etcd /go/bin/codecgen -d 1978 -o response.generated.go response.go