Skip to content
  • Iustin Pop's avatar
    Cleanup LU.ExpandNames versus CheckArguments · 9ade2eda
    Iustin Pop authored
    
    
    When LogicalUnit.CheckArguments was introduced, not all code dealing
    with static argument checking was moved to it; many of these checks were
    left in ExpandNames. With time, most of them migrated, and this patch
    does the final cleanups.
    
    The patch is straightforward, with the exception of LURebootInstance,
    where an old style ParameterError exception is converted to the new
    OpPrereqError with ECODE_INVAL.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    9ade2eda