1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-05 09:17:41 +03:00

B #6607: Fix size of restored disk from backup (#3210)

This commit is contained in:
Pavel Czerný 2024-09-04 12:55:10 +02:00 committed by GitHub
parent 7fe28f226c
commit 420162da67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ if !disk
exit(-1)
end
size = disk.elements['//SIZE']
size = disk.elements['SIZE']
if !size
STDERR.puts "Cannot find size for disk #{diskid[1]} in VM backup info"

View File

@ -117,7 +117,7 @@ if !disk
exit(-1)
end
size = disk.elements['//SIZE']
size = disk.elements['SIZE']
if !size
STDERR.puts "Cannot find size for disk #{diskid[1]} in VM backup info"