Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

vSphere:Fixed json output error in empty public_addresses #4

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

ikd-work
Copy link

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.

Thanks.
Daisuke Ikeda (TIS Inc.)

marios added a commit that referenced this pull request Dec 7, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants