Errors.hs: improve field names for ConfigVersionMismatch
authorDato Simó <dato@google.com>
Thu, 25 Oct 2012 16:11:12 +0000 (17:11 +0100)
committerDato Simó <dato@google.com>
Thu, 25 Oct 2012 17:57:13 +0000 (18:57 +0100)
commit86a2496966517d34642270af381dcfe2bf61592d
tree8b3cc6db3cd10efb738321aa22937447b00d7cf0
parentcd93a0ec7786409b6b8124f3c458e827b0ad6d41
Errors.hs: improve field names for ConfigVersionMismatch

Change {exp,act}Code to {exp,act}Ver, which gives a better idea that
the integer fields represent version numbers.

Also:

  - errors.py: update OpPrereqError's docstring to note that an error
    code is always expected as the second argument (it was previously
    optional).

Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
htools/Ganeti/Errors.hs
lib/errors.py