fix defect 3734 makehosts throw exceptions when node ip is not illegal
This commit is contained in:
parent
18db706c89
commit
368d0d1e83
@ -257,7 +257,7 @@ sub add_hosts_content {
|
||||
else
|
||||
{
|
||||
my $rsp;
|
||||
push @{$rsp->{data}}, "Invalid IP Addr \'$_->{ip}\' for node \'$_->{node}\'.";
|
||||
push @{$rsp->{data}}, "Invalid IP Addr \'$ref->{ip}\' for node \'$ref->{node}\'.";
|
||||
xCAT::MsgUtils->message("E", $rsp, $callback);
|
||||
}
|
||||
if (defined($ref->{otherinterfaces}))
|
||||
|
Loading…
Reference in New Issue
Block a user