Fix packet dynamic inventory "Slug" issue. (#63916)
* Fixed 'slug' bug in packet_net.py that was caused by a breaking change in the Packet API. * Removed some debugging and comments I had left. * Missed a spot!
This commit is contained in:
parent
5aa60a5fa7
commit
a753ff7cbf
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ class PacketInventory(object):
|
||||||
if self.group_by_operating_system:
|
if self.group_by_operating_system:
|
||||||
self.push(self.inventory, device.operating_system['slug'], dest)
|
self.push(self.inventory, device.operating_system['slug'], dest)
|
||||||
if self.nested_groups:
|
if self.nested_groups:
|
||||||
self.push_group(self.inventory, 'operating_systems', device.operating_system.slug)
|
self.push_group(self.inventory, 'operating_systems', device.operating_system['slug'])
|
||||||
|
|
||||||
# Inventory: Group by plan type
|
# Inventory: Group by plan type
|
||||||
if self.group_by_plan_type:
|
if self.group_by_plan_type:
|
||||||
|
|
Loading…
Reference in a new issue