mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2411 from mmatuska/vsphere-list-volumes
Fix exception if listing raw vSphere volumes (thinProvisioned method missing)
This commit is contained in:
commit
5f552e67d3
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module Fog
|
|||
get_vm_ref(vm_id).disks.map do |vol|
|
||||
{
|
||||
:id => vol.backing.uuid,
|
||||
:thin => vol.backing.thinProvisioned,
|
||||
:thin => (vol.backing.thinProvisioned rescue(nil)),
|
||||
:mode => vol.backing.diskMode,
|
||||
:filename => vol.backing.fileName,
|
||||
:datastore => (vol.backing.datastore.name rescue(nil)),
|
||||
|
|
Loading…
Add table
Reference in a new issue