From 13ee1dc328f6bc7a9330765604bfc35d4a599f36 Mon Sep 17 00:00:00 2001 From: Christopher Date: Sat, 7 Mar 2020 22:57:40 -0600 Subject: [PATCH] just insert --- lib/cluster_kv/db.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cluster_kv/db.ex b/lib/cluster_kv/db.ex index ca8eae5..e1fba76 100644 --- a/lib/cluster_kv/db.ex +++ b/lib/cluster_kv/db.ex @@ -110,7 +110,7 @@ defmodule ClusterKV.DB do [{_, val} = old] when is_list(val) -> new = fun.(old, value) - 1 = :ets.insert(db, new) + :ets.insert(db, new) [_] -> :ets.insert(db, {key, [value]}) -- 2.45.3