Revision 497e30a1 Ganeti/HTools/Node.hs

b/Ganeti/HTools/Node.hs
14 14
    -- ** Finalization after data loading
15 15
    , buildPeers
16 16
    , setIdx
17
    , setName
17 18
    , setOffline
18 19
    , setXmem
19 20
    , setFmem
......
102 103
setIdx :: Node -> Int -> Node
103 104
setIdx t i = t {idx = i}
104 105

  
106
-- | Changes the name
107
-- This is used only during the building of the data structures.
108
setName t s = t {name = s}
109

  
105 110
-- | Sets the offline attribute
106 111
setOffline :: Node -> Bool -> Node
107 112
setOffline t val = t { offline = val }

Also available in: Unified diff