1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

vmm/kvm/poll cleanup

Cleaned up unused code.
The rbd stats monitoring are moved to monitor script.
This commit is contained in:
Anton Todorov 2016-07-15 10:03:46 +03:00 committed by GitHub
parent 7396b6d1ed
commit 28779ae328

View File

@ -464,16 +464,6 @@ EOT
return uuid, template
end
def self.rbd_pool(pool, auth = nil)
@@rbd_pool ||= {}
if @@rbd_pool[pool].nil?
@@rbd_pool[pool] = `rbd #{auth} ls -l -p #{pool} --format xml`
end
@@rbd_pool[pool]
end
end
################################################################################