one more fix

This commit is contained in:
Alexey Nayden 2011-04-22 18:27:02 +04:00
parent 80174c6d3e
commit f4c137000e
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ class ProductsController < ApplicationController
def build
flash[:notice] = t('flash.product.build_started')
ProductBuilder.create_product @product.id, '/var/rosa', @product.ks, @product.menu, @product.build, @product.counter
ProductBuilder.create_product @product.id, '/var/rosa', @product.ks, @product.menu, @product.build, @product.counter, []
redirect_to :action => :show
end

View File

@ -9,7 +9,7 @@ class ProductBuilder
@@client ||= XMLRPC::Client.new3(:host => APP_CONFIG['product_builder_ip'], :port => APP_CONFIG['product_builder_port'], :path => APP_CONFIG['product_builder_path'])
end
def self.create_product product_id, path, kstemplate, menuxml, build, counter
self.client.call('create_product', product_id, path, kstemplate, menuxml, build, counter)
def self.create_product product_id, path, kstemplate, menuxml, build, counter, packages
self.client.call('create_product', product_id, path, kstemplate, menuxml, build, counter, packages)
end
end