mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 12:51:25 -07:00
Save api id to index as an int instead of a list
This commit is contained in:
parent
3f2f5fec0a
commit
a326d24446
1 changed files with 2 additions and 2 deletions
|
@ -204,7 +204,7 @@ class LinodeInventory(object):
|
|||
dest = node.label
|
||||
|
||||
# Add to index
|
||||
self.index[dest] = [node.api_id]
|
||||
self.index[dest] = node.api_id
|
||||
|
||||
# Inventory: Group by node ID (always a group of 1)
|
||||
self.inventory[node.api_id] = [dest]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue