delete check get_frame|cec_name returned discription
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
305dc00357
commit
7a29015949
@ -303,11 +303,6 @@ sub do_query_sysname {
|
||||
push @result, $values;
|
||||
if (@$values[2] != 0) {
|
||||
last;
|
||||
} else {
|
||||
my $len = rindex @$values[1]."\$", "\$";
|
||||
if ($len > '31') {
|
||||
return ([[$name, "Get sysname failed, name is too long, max 31 characters", "1"]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -323,8 +318,8 @@ sub do_set_sysname {
|
||||
my $sysname = ($value eq '*') ? $name : $value;
|
||||
my $action = $sysname_action{set}{@$d[4]};
|
||||
my $values = xCAT::FSPUtils::fsp_api_action($name, $d, $action, 0, $sysname);
|
||||
push @result, $values;
|
||||
if (@$values[2] != 0) {
|
||||
push @result, $values;
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user