Revision 903a7d46

b/Ganeti/HTools/Instance.hs
83 83
-- | Changes the index.
84 84
--
85 85
-- This is used only during the building of the data structures.
86
setIdx :: Instance  -- ^ the original instance
87
        -> T.Idx    -- ^ new index
88
        -> Instance -- ^ the modified instance
86
setIdx :: Instance -- ^ The original instance
87
       -> T.Idx    -- ^ New index
88
       -> Instance -- ^ The modified instance
89 89
setIdx t i = t { idx = i }
90 90

  
91 91
-- | Changes the name.
......
93 93
-- This is used only during the building of the data structures.
94 94
setName :: Instance -- ^ The original instance
95 95
        -> String   -- ^ New name
96
        -> Instance
96
        -> Instance -- ^ The modified instance
97 97
setName t s = t { name = s }
98 98

  
99 99
-- * Update functions

Also available in: Unified diff