diff --git a/src/onedb/1.rb b/src/onedb/1.rb index ad9cac30cc..761460359d 100644 --- a/src/onedb/1.rb +++ b/src/onedb/1.rb @@ -94,8 +94,7 @@ class Migrator < MigratorBase template_doc = REXML::Document.new( row[:template] ) cluster_elem = template_doc.root.add_element("CLUSTER") - cluster_elem.add_text( "" ) - + cluster_elem.text = REXML::CData.new( row[:cluster] ) body = "#{oid}#{name}#{state}#{row[:im_mad]}#{row[:vm_mad]}#{row[:tm_mad]}#{last_mon_time}#{host_share}#{ template_doc.to_s }"