mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
F #-: Fix disk ID parsing for qcow2 snapshots (#3969)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
This commit is contained in:
1 parent
cb61d59ce7
commit
6d6caf74fb
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user