From 0d6dc8c093c1c191f00effdfc3b2f858973f0271 Mon Sep 17 00:00:00 2001 From: Brian Ketelsen Date: Mon, 27 Oct 2014 14:06:34 -0400 Subject: [PATCH] missed an encoding reference --- config/config.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/config.go b/config/config.go index 78e58b29..93001c93 100644 --- a/config/config.go +++ b/config/config.go @@ -5,8 +5,6 @@ import ( "io" "io/ioutil" - "source.xordataexchange.com/exch/xor/Godeps/_workspace/src/github.com/xordataexchange/crypt/encoding/standard" - "github.com/xordataexchange/crypt/backend" "github.com/xordataexchange/crypt/backend/consul" "github.com/xordataexchange/crypt/backend/etcd" @@ -132,8 +130,7 @@ func (c standardConfigManager) Watch(key string, stop chan bool) <-chan *Respons resp <- &Response{nil, r.Error} continue } - value, err := standard.Decode(r.Value) - resp <- &Response{value, err} + resp <- &Response{r.Value, nil} } } }()