1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #3645 from slivik/master

[vsphere] Bug in full_path cluster attribute
This commit is contained in:
Paulo Henrique Lopes Ribeiro 2015-08-03 10:51:43 -03:00
commit 388983ff85

View file

@ -41,7 +41,7 @@ module Fog
def cluster_path(cluster, datacenter_name)
datacenter = find_raw_datacenter(datacenter_name)
cluster.pretty_path.gsub(/(#{datacenter.name}|#{datacenter.hostFolder.name})\//,'')
cluster.pretty_path.gsub(/(#{datacenter_name}|#{datacenter.hostFolder.name})\//,'')
end
end