]> Entropealabs - cluster_kv.git/commitdiff
get values in stream
authorChristopher <chris@entropealabs.com>
Sat, 7 Mar 2020 15:20:43 +0000 (09:20 -0600)
committerChristopher <chris@entropealabs.com>
Sat, 7 Mar 2020 15:20:43 +0000 (09:20 -0600)
lib/cluster_kv/ring.ex

index 8c26f8b9d15fc7bcb9cb79c7f6f44613f81fcf9b..104e5e9e6bd6116115c2b4fff1e0744e7c268749 100644 (file)
@@ -225,7 +225,7 @@ defmodule ClusterKV.Ring do
       _ -> true
     end)
     |> Stream.map(fn key ->
-      {key, DB.get(db, key)}
+      DB.get(db, key)
     end)
   end