Skip to content
  • Guido Trotter's avatar
    IAllocator: fill i_list in a more proper way · b57e9819
    Guido Trotter authored
    - 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
    b57e9819