mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
M #: Fix minor bug in fsck tool (#1405)
fsck tool breaks when image DS name reference is corrupted. `text` method cannot be used to overwrite the XML node content.
This commit is contained in:
parent
95ecbe6f99
commit
6d07a4f844
@ -115,7 +115,7 @@ module OneDBFsck
|
||||
"It will be changed to #{ds_entry[:name]}")
|
||||
|
||||
doc.root.xpath('DATASTORE').each do |e|
|
||||
e.text = ds_entry[:name]
|
||||
e.content = ds_entry[:name]
|
||||
end
|
||||
|
||||
@fixes_datastore_image[row[:oid]] = doc.root.to_s
|
||||
|
Loading…
x
Reference in New Issue
Block a user