Cleanup network timeouts and htools imports
This patch removes the last HTools module imports from non-htools code (the HTools.Types module), but it requires an associated cleanup: using luxi-specific constants for luxi timeouts (the only effect is that one timeout decreases from 15 to 10, the default value in the python code), and moving of the (now) RAPI specific constants to RAPI.hs (which allows simplifying their type/usage). Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
Showing
- htools/Ganeti/Confd/Server.hs 1 addition, 1 deletionhtools/Ganeti/Confd/Server.hs
- htools/Ganeti/HTools/Rapi.hs 10 additions, 2 deletionshtools/Ganeti/HTools/Rapi.hs
- htools/Ganeti/HTools/Types.hs 0 additions, 10 deletionshtools/Ganeti/HTools/Types.hs
- htools/Ganeti/Luxi.hs 4 additions, 4 deletionshtools/Ganeti/Luxi.hs
Loading
Please register or sign in to comment