mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Feature #3718: Fix dummy probe reporting for snapshot_size
This commit is contained in:
parent
bf5273a461
commit
e48d1a28fe
@ -198,7 +198,7 @@ class DummyDriver < VirtualMachineDriver
|
||||
"#{POLL_ATTRIBUTE[:cpu]}=#{max_cpu * (rand(95)+5)/100} " \
|
||||
"#{POLL_ATTRIBUTE[:disk_size]}=[ID=0, SIZE=#{rand(1024)}] "\
|
||||
"#{POLL_ATTRIBUTE[:disk_size]}=[ID=1, SIZE=#{rand(1024)}] "\
|
||||
"#{POLL_ATTRIBUTE[:snapshot_size]}=[ID=1, DISK_ID=0, SIZE=#{rand(1024)}] "
|
||||
"#{POLL_ATTRIBUTE[:snapshot_size]}=[ID=0, DISK_ID=0, SIZE=#{rand(1024)}] "
|
||||
|
||||
send_message(ACTION[:poll],result,id,monitor_info)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user