diff --git a/src/datastore_mad/remotes/restic/stat b/src/datastore_mad/remotes/restic/stat index 4b28b18152..013f625358 100755 --- a/src/datastore_mad/remotes/restic/stat +++ b/src/datastore_mad/remotes/restic/stat @@ -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" diff --git a/src/datastore_mad/remotes/rsync/stat b/src/datastore_mad/remotes/rsync/stat index 62065997e0..5d720ab1b6 100755 --- a/src/datastore_mad/remotes/rsync/stat +++ b/src/datastore_mad/remotes/rsync/stat @@ -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"