• Iustin Pop's avatar
    Fix argument checking in LUSetClusterParams · 3994f455
    Iustin Pop authored
    This patch fixes two issues with LUSetClusterParams and argument
    First, this LU used the wrong function name (CheckParameters instead of
    CheckArguments), which means that no parameter checking was done at all;
    this impacted the candidate_pool_size checks (the only one done at this
    Second, int() can raise both ValueError and TypeError, and we should
    correctly handle both.
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
cmdlib.py 242 KB