mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Include the top level folder for esxi in the break condition
This commit is contained in:
parent
8c368b25cd
commit
eca4897a08
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ def compile_folder_path_for_object(vobj):
|
|||
moid = thisobj._moId
|
||||
except AttributeError:
|
||||
moid = None
|
||||
if moid == 'group-d1':
|
||||
if moid in ['group-d1', 'ha-folder-root']:
|
||||
break
|
||||
if isinstance(thisobj, vim.Folder):
|
||||
paths.append(thisobj.name)
|
||||
|
|
Loading…
Reference in a new issue