mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
B #4895: onedb fsck breaks with volatile disks
(cherry picked from commit 4c555b0d16)
This commit is contained in:
1 parent
7df7f4ff73
commit
db337d8ea1
1 file changed
+1
-1
+1
-1
@@ -2637,7 +2637,7 @@ EOT
|
||||
# Params:
|
||||
# +disk+:: Nokogiri::XML::Node describing a disk used by a template
|
||||
def get_image_from_name(disk)
|
||||
name = disk.at_xpath("IMAGE").content # always defined
|
||||
name = disk.at_xpath("IMAGE") && disk.at_xpath("IMAGE").content
|
||||
uid = disk.at_xpath("IMAGE_UID")
|
||||
uname = disk.at_xpath("IMAGE_UNAME")
|
||||
|
||||
|
||||
Reference in new issue
Block a user