mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Feature #4217: Fix bug in onedb upgrade, wrong APP_CLONES path
This commit is contained in:
parent
664de7c462
commit
aa31934f40
@ -148,7 +148,7 @@ module Migrator
|
||||
@db.fetch("SELECT * FROM old_image_pool") do |row|
|
||||
doc = Nokogiri::XML(row[:body],nil,NOKOGIRI_ENCODING){|c| c.default_xml.noblanks}
|
||||
|
||||
doc.at_xpath("/IMAGE/TEMPLATE").add_child(doc.create_element("APP_CLONES"))
|
||||
doc.root.add_child(doc.create_element("APP_CLONES"))
|
||||
|
||||
@db[:image_pool].insert(
|
||||
:oid => row[:oid],
|
||||
|
Loading…
x
Reference in New Issue
Block a user