Give error message if some attributes cannot be set into db with chdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6533cc809b
commit
9c556ff8ad
@ -1046,7 +1046,7 @@ sub setobjdefs
|
||||
|
||||
if ( !($objhash{$objname}{$check_attr} =~ /\b$check_value\b/) && !($DBattrvals{$objname}{$check_attr} =~ /\b$check_value\b/) )
|
||||
{
|
||||
push @{$rsp->{data}}, "Cannot set the \'$attr_name\' attribute unless \'$check_attr=$check_value\' attribute are set.\n";
|
||||
push @{$rsp->{data}}, "Cannot set the \'$attr_name\' attribute unless \'$check_attr=$check_value\'.\n";
|
||||
xCAT::MsgUtils->message("E", $rsp, $::callback)
|
||||
next;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user