Fix parsing of absolute job dependencies
authorIustin Pop <iustin@google.com>
Wed, 12 Dec 2012 03:55:18 +0000 (04:55 +0100)
committerIustin Pop <iustin@google.com>
Mon, 17 Dec 2012 11:38:23 +0000 (12:38 +0100)
commit77d43564742d2cc6dd80a062c4cf01059b58580c
tree23d0a97e1f2bc936ac4ff8a2c4a19af2bf05a949
parent1496f5f34f89e44fbba5386bce2df545c366729b
Fix parsing of absolute job dependencies

It seems that Python code generates (sometimes) absolute job
dependencies which are strings, instead of integers, so we should be
able to parse these as well. We simply change from explicit int-based
parsing (makeJobId) to the generic one (parseJobId).

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
htools/Ganeti/Types.hs