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:
commit
257082e5bf
@ -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
|
||||
|
||||
################################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user