From 4a4bdcb83ba0afecd1d1b69bd882c8ed90030491 Mon Sep 17 00:00:00 2001 From: Asim Date: Mon, 19 Jan 2015 20:05:00 +0000 Subject: [PATCH] Update the api in store package, github.com/armon/consul-api is deprecated --- store/consul_store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/store/consul_store.go b/store/consul_store.go index 147c35c0..55fdec24 100644 --- a/store/consul_store.go +++ b/store/consul_store.go @@ -3,7 +3,7 @@ package store import ( "errors" - consul "github.com/armon/consul-api" + consul "github.com/hashicorp/consul/api" ) type ConsulStore struct { @@ -47,7 +47,7 @@ func (c *ConsulStore) NewItem(key string, value []byte) Item { } func NewConsulStore() Store { - client, _ := consul.NewClient(&consul.Config{}) + client, _ := consul.NewClient(consul.DefaultConfig()) return &ConsulStore{ Client: client,