www-infrastructure-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Git at Apache <...@git.apache.org>
Subject deltacloud pull request: vSphere:Fixed json output error in empty public_addresses
Date Tue, 21 Feb 2012 01:53:21 GMT
GitHub user ikd-work synchronized the pull request at

vSphere:Fixed json output error in empty public_addresses

At the specific situation which vm has Network Interface and vmware-tools installed the vm
and network interface is down in the vm,
public_addresses response is below.(vSphereESXi5.0)
:public_addresses=>[{:address=>{:type=>:unavailable, :value=>}}]

A json error occurs when execute "to_json" at this response.

So, I changed "vsphere_driver.rb" to get empty value.

Please Check this change.
And, Please merge trunk branch.

Daisuke Ikeda (TIS Inc.)

You can merge this pull request into a Git repository by running
$ git pull https://github.com/ikd-work/deltacloud vsphere-dev

Alternatively you can review and apply these changes as the patch at

View raw message