lib/rundock/builder/target_builder.rb in rundock-1.0.5 vs lib/rundock/builder/target_builder.rb in rundock-1.0.6

- old
+ new

@@ -14,14 +14,14 @@ target_info[target_name.to_sym][:target_type] == 'host' backend_builder = BackendBuilder.new(@options, target_name, target_info) backend = backend_builder.build @parsed_node_options = { target_name.to_sym => backend_builder.parsed_options } - - return Node.new(target_name, backend) else raise TargetNoSupportError end + + Node.new(target_name, backend) end def build_group(target_group_name, target_info) if !target_info.nil? && target_info.key?(target_group_name.to_sym) &&