Commit 6a12ff63 authored by James Lopez's avatar James Lopez

renaming variable

parent f3a88212
......@@ -17,11 +17,11 @@ module Gitlab
private
def build_hash(model_list)
model_list.map do |model_object_hash|
if model_object_hash.is_a?(Hash)
build_json_config_hash(model_object_hash)
model_list.map do |model_objects|
if model_objects.is_a?(Hash)
build_json_config_hash(model_objects)
else
@attributes_parser.find(model_object_hash)
@attributes_parser.find(model_objects)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment