summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Coutinho <rodrigo.coutinho@locaweb.com.br>2016-10-05 20:03:17 -0300
committerRodrigo Coutinho <rodrigo.coutinho@locaweb.com.br>2016-10-05 20:03:17 -0300
commitec754eb15259fac6f06a3301e523ecd82700cc41 (patch)
treeb9c33f72717661644936b9ab571f5a500826de8b
parentFix update of Records Manager (diff)
Delete record symbolize keys
-rw-r--r--lib/powerdnsex/gen_server/server.ex3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/powerdnsex/gen_server/server.ex b/lib/powerdnsex/gen_server/server.ex
index a91dc76..3b24503 100644
--- a/lib/powerdnsex/gen_server/server.ex
+++ b/lib/powerdnsex/gen_server/server.ex
@@ -40,7 +40,6 @@ defmodule PowerDNSex.Server do
end
def handle_call({:delete_record, zone, rrset_attrs}, _from, state) do
- attrs = Converter.keys_to_atom(rrset_attrs)
- {:reply, RecordsManager.delete(zone, attrs), state}
+ {:reply, RecordsManager.delete(zone, rrset_attrs), state}
end
end