[Refs #221] Fix xml-rpc call
This commit is contained in:
parent
6e15ee3e96
commit
b20c533e6b
|
@ -40,7 +40,7 @@ class ProductBuildList < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def xml_delete_iso_container
|
def xml_delete_iso_container
|
||||||
result = ProductBuilder.delete_iso_container platform.name, id
|
result = ProductBuilder.delete_iso_container self
|
||||||
if result == ProductBuilder::SUCCESS
|
if result == ProductBuilder::SUCCESS
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
|
|
|
@ -15,7 +15,7 @@ class ProductBuilder
|
||||||
pbl.product.counter, [], pbl.product.tar.exists? ? "#{pbl.base_url}#{pbl.product.tar.url}" : '')
|
pbl.product.counter, [], pbl.product.tar.exists? ? "#{pbl.base_url}#{pbl.product.tar.url}" : '')
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.delete_iso_container(plname, id)
|
def self.delete_iso_container pbl # product_build_list
|
||||||
self.client(pbl.product.platform.distrib_type).call('delete_iso_container', plname, id)
|
self.client(pbl.product.platform.distrib_type).call('delete_iso_container', pbl.product.platform.name, pbl.id.to_s)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue