Skip to content

Commit

Permalink
Merge branch 'BB-issue8/vendor-with-dep' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
jllopis committed Oct 30, 2017
2 parents 4afcb53 + 44202eb commit d915847
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

deps: ## Vendor go dependencies
@echo "Vendoring dependencies"
@go get -u github.com/kardianos/govendor
@govendor sync
@go get -u github.com/golang/dep
@dep ensure

install-dev: deps ## Install dependencies and prepared development configuration
@echo "Installing development utils"
Expand Down
8 changes: 8 additions & 0 deletions kvstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ import (
"strings"
"time"

// "github.com/abronan/libkv"
// "github.com/abronan/libkv/store"
// "github.com/abronan/libkv/store/consul"
// "github.com/abronan/libkv/store/etcd/v3"
"github.com/docker/libkv"
"github.com/docker/libkv/store"
"github.com/docker/libkv/store/consul"
// "github.com/docker/libkv/store/etcd"
)

type KVOptions struct {
Expand Down Expand Up @@ -64,6 +69,9 @@ func (gc *GetConf) EnableKVStore(opts *KVOptions) (*GetConf, error) {
return gc, errors.New("cannot create store consul")
}
gc.KVStore = kv
// case "etcd":
// etcd.Register()

default:
return gc, errors.New("unknown backend")
}
Expand Down

0 comments on commit d915847

Please sign in to comment.