Revision 2a8e2dc9 htools/Ganeti/HTools/Text.hs
b/htools/Ganeti/HTools/Text.hs | ||
---|---|---|
188 | 188 |
-- | Top level function for data loading |
189 | 189 |
loadData :: String -- ^ Path to the text file |
190 | 190 |
-> IO (Result ClusterData) |
191 |
loadData afile = readData afile >>= return . parseData |
|
191 |
loadData = fmap parseData . readData |
Also available in: Unified diff