consul: Fixing blocking query returning old result

pull/600/head
Armon Dadgar 10 years ago
parent ed6abe05fb
commit 8068c73b29

@ -157,6 +157,8 @@ func (k *KVS) List(args *structs.KeyRequest, reply *structs.IndexedDirEntries) e
} else {
reply.Index = index
}
reply.Entries = nil
} else {
// Determine the maximum affected index
var maxIndex uint64

Loading…
Cancel
Save