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:
commit
388983ff85
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue