Revision 0f70b3fb
ID | 0f70b3fb40288945b21cbe3cfa4fbde0e13a160b |
iallocator: factor out 'get_attr' method
This patch extracts an inline 'get_attr' method to extract
data from the result of the RPC call 'node_info'. It was so
far an inline function in the middle of a bigger method, which made
the code hard to read.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Files
- added
- modified
- copied
- renamed
- deleted