Abstract code related to job ID creation
authorIustin Pop <iustin@google.com>
Mon, 10 Dec 2012 18:35:09 +0000 (19:35 +0100)
committerIustin Pop <iustin@google.com>
Mon, 17 Dec 2012 11:38:02 +0000 (12:38 +0100)
commitfd958a3d1ebc204e317d2e0454347fb89e159a9d
tree3e2513f69ffa26bb095fdd7b57c8e90a12126ed2
parent4355b2de95c2d41beec9488ddaa5a93531e55d1c
Abstract code related to job ID creation

Having makeJobIdS as a separate function will allow us to use it
outside of json encoding.

The patch also exports one more function from the Types module.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
htools/Ganeti/Types.hs