BasicTypes.hs: fix docstring for eitherToResult
authorDato Simó <dato@google.com>
Fri, 19 Oct 2012 14:54:54 +0000 (15:54 +0100)
committerDato Simó <dato@google.com>
Fri, 19 Oct 2012 15:04:36 +0000 (16:04 +0100)
commit98508e7f2049127f58af27db5ad7a1eb0ed519dc
tree77b565da40290908b567b94edff0c290d1b298e8
parent06c9a9d6efc12f8bec1a52f6a339331adbb2f732
BasicTypes.hs: fix docstring for eitherToResult

eitherToResult now converts from `Either a b` to `GenericResult`, not
necessarily from `Either String` only. Also, fix a typo.

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