« Previous | Next » 

Revision b57e9819

IDb57e981963fcfb7c6f5f5d2557e8ada2acdf3fa7
Parent 90a7547a
Child 8cc7e742

Added by Guido Trotter over 15 years ago

IAllocator: fill i_list in a more proper way

- reuse the previously called cluster_info, rather than calling it again
- get all the instances from the config atomically, to prevent race conditions
- use a list comprehension, for simplicity

Reviewed-by: iustinp

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences