TH simplification for Luxi
authorAgata Murawska <agatamurawska@google.com>
Tue, 11 Oct 2011 10:52:12 +0000 (12:52 +0200)
committerIustin Pop <iustin@google.com>
Wed, 12 Oct 2011 08:47:28 +0000 (10:47 +0200)
commit9d74cb04c6314df5202f1e5a8831d415a9d9c93d
tree6b7cb74e829f24d434252c81f67e9bd2818c636c
parent05ff7a005801bed37fd3f32d75ce6c0f31d464a8
TH simplification for Luxi

This patch simplifies the generation of save constructors for LuxiOp
by always using showJSON over an array of JSValues, instead of having
to pass showJSON in most cases, except the 5-tuple case.

Signed-off-by: Agata Murawska <agatamurawska@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
[iustin@google.com: fixed a few issues]
htools/Ganeti/Luxi.hs
htools/Ganeti/THH.hs