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

Commit

Permalink
Added 'name' field to inventory groups.
Browse files Browse the repository at this point in the history
  • Loading branch information
jomeier committed Aug 5, 2018
1 parent 9a22336 commit d8f6f57
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit d8f6f57

Please # to comment.