Commit be4c4724 authored by Volker Hilsheimer's avatar Volker Hilsheimer
Browse files

Handle empty role parameters when role is not an array entry

parent de17c36a
......@@ -149,6 +149,7 @@ def add_role(box, role, name, machine)
role, role_params = role.shift
end
role_params ||= {}
role_params.each do |key, value|
next if value.nil?
if value.is_a?(String)
......
Supports Markdown
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