F #-: Fix disk ID parsing for qcow2 snapshots (#3969)

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
This commit is contained in:
Guillermo Ramos authored and GitHub committed 2025-12-10 10:03:55 +01:00
1 parent cb61d59ce7
commit 6d6caf74fb
1 file changed
+1 -1
+1 -1
View File
@@ -159,7 +159,7 @@ module TransferManager
end
def disk_id
base.to_s.match(/disk\.([0-9]+)/)&.captures&.at(0)
@path.to_s.match(/disk\.([0-9]+)/)&.captures&.at(0)
end
end