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

Merge pull request #107 from atodorov-storpool/patch-6

vmm/kvm/poll cleanup
This commit is contained in:
Javi Fontan 2016-07-19 17:04:22 +02:00 committed by GitHub
commit 257082e5bf

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
################################################################################