sparse-intern-71089
01/25/2023, 2:14 PMechoing-dinner-19531
01/25/2023, 2:16 PMinstances.map(i => i.id.apply(id=>parseInt(id)))
thankful-napkin-37863
01/25/2023, 2:17 PMinterface {} is string, not int
...echoing-dinner-19531
01/25/2023, 2:20 PMlinodes: [instances[0].id, instances[1].id]
works?
The equivilant map for that is just:
linodes: instances.map(i => i.id)
thankful-napkin-37863
01/25/2023, 2:21 PMechoing-dinner-19531
01/25/2023, 2:22 PMthankful-napkin-37863
01/25/2023, 2:23 PMechoing-dinner-19531
01/25/2023, 2:23 PMthankful-napkin-37863
01/25/2023, 2:36 PMmap
method does work when initially creating the resources from scratch, but not when updating it after increasing the number of nodes. Is that maybe a clue?echoing-dinner-19531
01/25/2023, 2:37 PMechoing-dinner-19531
01/25/2023, 2:37 PMthankful-napkin-37863
01/25/2023, 2:37 PMechoing-dinner-19531
01/25/2023, 2:38 PM--skip-preview
and see if that works?thankful-napkin-37863
01/25/2023, 2:40 PMechoing-dinner-19531
01/25/2023, 2:40 PMthankful-napkin-37863
01/25/2023, 2:41 PMthankful-napkin-37863
01/25/2023, 2:45 PM