Fix inconsistency in python and haskell objects
authorOleg Ponomarev <oponomarev@google.com>
Mon, 12 Oct 2015 14:25:33 +0000 (16:25 +0200)
committerKlaus Aehlig <aehlig@google.com>
Mon, 12 Oct 2015 14:36:49 +0000 (16:36 +0200)
commit553363a33cfb00bbae88c94ae6408d6e1a81a194
tree013a07fc0cc0a6b3a89b171b94e7da6f7d1ec1e9
parentc0a2c62b9ad96c3e35cae0ffdcdf63a09164f537
Fix inconsistency in python and haskell objects

Make hv and disk states default fields with notSerializeDefaultField
flag set in haskell objects in order to make them consistent with
the corresponding fields in python objects.

Signed-off-by: Oleg Ponomarev <oponomarev@google.com>
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
src/Ganeti/Objects.hs