one more fix
This commit is contained in:
parent
80174c6d3e
commit
f4c137000e
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue