Add a helper function for mirrorType computations
We most always use `templateMirrorType . diskTemplate`, so let's add a helper function for this. Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
Showing
- htools/Ganeti/HTools/Cluster.hs 2 additions, 2 deletionshtools/Ganeti/HTools/Cluster.hs
- htools/Ganeti/HTools/IAlloc.hs 1 addition, 1 deletionhtools/Ganeti/HTools/IAlloc.hs
- htools/Ganeti/HTools/Instance.hs 5 additions, 0 deletionshtools/Ganeti/HTools/Instance.hs
- htools/Ganeti/HTools/QC.hs 3 additions, 4 deletionshtools/Ganeti/HTools/QC.hs
Loading
Please register or sign in to comment