Skip to content
Snippets Groups Projects
  1. Jan 24, 2013
  2. Jan 21, 2013
  3. Jan 18, 2013
  4. Jan 16, 2013
  5. Jan 15, 2013
  6. Jan 14, 2013
  7. Jan 10, 2013
  8. Jan 08, 2013
  9. Jan 07, 2013
  10. Jan 04, 2013
  11. Dec 28, 2012
    • Iustin Pop's avatar
      Fix a bad data type in Hcheck.hs · f6b9c6e5
      Iustin Pop authored
      
      While trying to understand why some code was not being tested, I
      realised that we have a bad data type in Hcheck.hs.
      
      We have "data Level = GroupLvl | ClusterLvl", but then we need to pass
      the group name/index as well, so we have functions that look like the
      following:
      
        f :: Level -> Maybe String -> …
        f GroupLvl (Just gname) = …
        f GroupLvl Nothing = … -- never used
        f ClusterLvl _ = … -- wrong, since a (Just x) could be passed
      
      It's clear that we just need to move the group name in the "GroupLvl"
      constructor, and simplify the call chain.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      f6b9c6e5
    • Iustin Pop's avatar
      Move src/Ganeti/HTools/Program.hs to Program/Main.hs · 2fd5a116
      Iustin Pop authored
      
      This removes one more tab conflict; this is the last module in our
      code where we have both x.hs and x/.
      
      Furthermore, we collapse all actual code into the new Main.hs module,
      leaving the htools.hs basically empty (will allow better testing in
      the future).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      2fd5a116
  12. Dec 24, 2012
  13. Mar 20, 2009
  14. Mar 14, 2009
Loading