Fix build breakage after exclusive storage commits
authorIustin Pop <iustin@google.com>
Fri, 21 Dec 2012 18:25:46 +0000 (19:25 +0100)
committerIustin Pop <iustin@google.com>
Fri, 21 Dec 2012 18:50:08 +0000 (19:50 +0100)
commitce003543deac594fa169983adde3024d50994223
tree2f50ae77a3ef2fb580b6013a699a9dcf554442bf
parent6ebfef424ad3aa3441773856de088daf77dcaa7b
Fix build breakage after exclusive storage commits

This fixes:

htest/Test/Ganeti/Rpc.hs:50:14:
    Couldn't match expected type `Rpc.RpcCallNodeInfo'
           against inferred type `Data.Map.Map String Bool
                                  -> Rpc.RpcCallNodeInfo'
    In the first argument of `(<$>)', namely `Rpc.RpcCallNodeInfo'
    In the first argument of `(<*>)', namely
        `Rpc.RpcCallNodeInfo <$> arbitrary'

by adding the new parameter (empty map for now), and also:

ganeti/constants.py:432:5: E123 closing bracket does not match
   indentation of opening bracket's line

By switching to 2-char indentation and (for consistency) also replaces
frozenset(…) with our unique checker (UniqueFrozenset).

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
htest/Test/Ganeti/Rpc.hs
lib/constants.py