Allow setting of etcd store via flags
This commit is contained in:
@@ -33,5 +33,7 @@ func Init() {
|
|||||||
switch flagStore {
|
switch flagStore {
|
||||||
case "memcached":
|
case "memcached":
|
||||||
store.DefaultStore = store.NewMemcacheStore()
|
store.DefaultStore = store.NewMemcacheStore()
|
||||||
|
case "etcd":
|
||||||
|
store.DefaultStore = store.NewEtcdStore()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user