Save api id to index as an int instead of a list

pull/5926/head
Aaron Rice 11 years ago
parent 3f2f5fec0a
commit a326d24446

@ -204,7 +204,7 @@ class LinodeInventory(object):
dest = node.label dest = node.label
# Add to index # 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) # Inventory: Group by node ID (always a group of 1)
self.inventory[node.api_id] = [dest] self.inventory[node.api_id] = [dest]

Loading…
Cancel
Save