Make the disks parameter available to the constructor
In that way, tools building on Instance will benefit from the corrected verification semantics of the instance policy on disk space. Signed-off-by:Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
Showing
- src/Ganeti/HTools/Backend/IAlloc.hs 5 additions, 2 deletionssrc/Ganeti/HTools/Backend/IAlloc.hs
- src/Ganeti/HTools/Backend/Luxi.hs 1 addition, 1 deletionsrc/Ganeti/HTools/Backend/Luxi.hs
- src/Ganeti/HTools/Backend/Rapi.hs 2 additions, 1 deletionsrc/Ganeti/HTools/Backend/Rapi.hs
- src/Ganeti/HTools/Backend/Text.hs 1 addition, 1 deletionsrc/Ganeti/HTools/Backend/Text.hs
- src/Ganeti/HTools/Instance.hs 3 additions, 3 deletionssrc/Ganeti/HTools/Instance.hs
- src/Ganeti/HTools/Program/Hspace.hs 4 additions, 1 deletionsrc/Ganeti/HTools/Program/Hspace.hs
- test/hs/Test/Ganeti/HTools/Instance.hs 1 addition, 1 deletiontest/hs/Test/Ganeti/HTools/Instance.hs
- test/hs/Test/Ganeti/TestHTools.hs 2 additions, 2 deletionstest/hs/Test/Ganeti/TestHTools.hs
Loading
Please register or sign in to comment