Commit 9b9da389 authored by Iustin Pop's avatar Iustin Pop
Browse files

Utils: add a default UUID



This will be used as a placeholder for the cases when we need a UUID
(any UUID), but we don't have one handy.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarBalazs Lecz <leczb@google.com>
parent a3e8da03
......@@ -41,6 +41,7 @@ module Ganeti.HTools.Utils
, tryRead
, formatTable
, annotateResult
, defaultUUID
) where
import Control.Monad (liftM)
......@@ -209,3 +210,7 @@ formatTable vals numpos =
) flds
) (zip3 vtrans numpos mlens)
in transpose expnd
-- | Default UUID (just a string, not a real UUID)
defaultUUID :: String
defaultUUID = "00000000-0000-0000-0000-000000000000"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment