Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Make import of 'inventory' groups possible #585

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tower_cli/cli/transfer/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ def process_inventory_groups(group_json):
map_node_to_post_options(group_post_options, group_json, group_to_return)
name_to_id_map = {}

group_to_return['name'] = group_json['name']

# Now we need to get the children for the group (which should all be groups)
if 'related' in group_json and 'children' in group_json['related']:
group_to_return['sub_groups'] = []
Expand Down