Revision 06fd57e5 src/Ganeti/Utils.hs
b/src/Ganeti/Utils.hs | ||
---|---|---|
71 | 71 |
import Network.Socket |
72 | 72 |
|
73 | 73 |
import Ganeti.BasicTypes |
74 |
import qualified Ganeti.Constants as C
|
|
74 |
import qualified Ganeti.ConstantUtils as ConstantUtils
|
|
75 | 75 |
import Ganeti.Logging |
76 | 76 |
import Ganeti.Runtime |
77 | 77 |
import System.IO |
... | ... | |
317 | 317 |
-- This is a Linux-specific method as it uses the /proc filesystem. |
318 | 318 |
newUUID :: IO String |
319 | 319 |
newUUID = do |
320 |
contents <- readFile C.randomUuidFile |
|
320 |
contents <- readFile ConstantUtils.randomUuidFile
|
|
321 | 321 |
return $! rStripSpace $ take 128 contents |
322 | 322 |
|
323 | 323 |
-- | Returns the current time as an 'Integer' representing the number |
Also available in: Unified diff