mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
vmm/kvm/poll cleanup
Cleaned up unused code. The rbd stats monitoring are moved to monitor script.
This commit is contained in:
1 parent
7396b6d1ed
commit
28779ae328
1 file changed
-10
@@ -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
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in new issue
Block a user