summaryrefslogtreecommitdiff
path: root/lib/powerdnsex/models/record.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/powerdnsex/models/record.ex')
-rw-r--r--lib/powerdnsex/models/record.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/powerdnsex/models/record.ex b/lib/powerdnsex/models/record.ex
index 0c40e65..ed0e327 100644
--- a/lib/powerdnsex/models/record.ex
+++ b/lib/powerdnsex/models/record.ex
@@ -20,8 +20,8 @@ defmodule PowerDNSex.Models.Record do
end
def find(records, attrs) when is_list(records) do
- Enum.find(records, fn(record)->
- Enum.all?(attrs, fn({attr, attr_value})->
+ Enum.find(records, fn(record) ->
+ Enum.all?(attrs, fn({attr, attr_value}) ->
Map.get(record, attr) == attr_value
end)
end)