Refactor reading live data in htools
authorBernardo Dal Seno <bdalseno@google.com>
Tue, 4 Jun 2013 16:38:11 +0000 (18:38 +0200)
committerJose A. Lopes <jabolopes@google.com>
Wed, 4 Dec 2013 14:51:17 +0000 (15:51 +0100)
commit0eb83d700f0749203d057d2b7fedffde903f3942
tree935de1b7d34590a538f29957133747fa79a28b32
parent9d7e8218f5616a2afb6ee90e167da328da8c91de
Refactor reading live data in htools

This simplifies different handling of individual items.

Cherry-picked from 8c72f7119f50a11661aacba2a1abffdfdc6f7cfa.

Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
src/Ganeti/HTools/Backend/IAlloc.hs
src/Ganeti/HTools/Backend/Luxi.hs
src/Ganeti/HTools/Backend/Rapi.hs
src/Ganeti/HTools/Loader.hs