consul: Remove dead code

pull/578/head
Armon Dadgar 2015-01-05 16:42:30 -08:00
parent f45d7900b8
commit ff9869eee5
1 changed files with 0 additions and 3 deletions

View File

@ -93,7 +93,6 @@ func (k *KVS) Get(args *structs.KeyRequest, reply *structs.IndexedDirEntries) er
opts := blockingRPCOptions{ opts := blockingRPCOptions{
queryOpts: &args.QueryOptions, queryOpts: &args.QueryOptions,
queryMeta: &reply.QueryMeta, queryMeta: &reply.QueryMeta,
tables: nil,
kvWatch: true, kvWatch: true,
kvPrefix: args.Key, kvPrefix: args.Key,
run: func() error { run: func() error {
@ -139,7 +138,6 @@ func (k *KVS) List(args *structs.KeyRequest, reply *structs.IndexedDirEntries) e
opts := blockingRPCOptions{ opts := blockingRPCOptions{
queryOpts: &args.QueryOptions, queryOpts: &args.QueryOptions,
queryMeta: &reply.QueryMeta, queryMeta: &reply.QueryMeta,
tables: nil,
kvWatch: true, kvWatch: true,
kvPrefix: args.Key, kvPrefix: args.Key,
run: func() error { run: func() error {
@ -195,7 +193,6 @@ func (k *KVS) ListKeys(args *structs.KeyListRequest, reply *structs.IndexedKeyLi
opts := blockingRPCOptions{ opts := blockingRPCOptions{
queryOpts: &args.QueryOptions, queryOpts: &args.QueryOptions,
queryMeta: &reply.QueryMeta, queryMeta: &reply.QueryMeta,
tables: nil,
kvWatch: true, kvWatch: true,
kvPrefix: args.Prefix, kvPrefix: args.Prefix,
run: func() error { run: func() error {