lib/fog/vsphere/requests/compute/get_datacenter.rb in fog-maestrodev-1.15.0.20130927082724 vs lib/fog/vsphere/requests/compute/get_datacenter.rb in fog-maestrodev-1.18.0.20131111203459
- old
+ new
@@ -3,10 +3,10 @@
class Vsphere
class Real
def get_datacenter name
dc = find_raw_datacenter(name)
raise(Fog::Compute::Vsphere::NotFound) unless dc
- {:name => dc.name, :status => dc.overallStatus}
+ {:name => dc.name, :status => dc.overallStatus, :path => raw_getpathmo(dc) }
end
protected
def find_raw_datacenter name