Revision 3603605a htools/Ganeti/HTools/Loader.hs

b/htools/Ganeti/HTools/Loader.hs
317 317
                        (Node.fMem node - adj_mem)
318 318
                 umsg1 =
319 319
                   if delta_mem > 512 || delta_dsk > 1024
320
                      then (printf "node %s is missing %d MB ram \
321
                                   \and %d GB disk"
322
                                   nname delta_mem (delta_dsk `div` 1024)):
323
                           msgs
320
                      then printf "node %s is missing %d MB ram \
321
                                  \and %d GB disk"
322
                                  nname delta_mem (delta_dsk `div` 1024):msgs
324 323
                      else msgs
325 324
             in (umsg1, newn)
326 325
        ) [] nl

Also available in: Unified diff