mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
modify xcattest
This commit is contained in:
parent
f756ce2211
commit
f781865740
@ -694,9 +694,11 @@ sub getfunc
|
||||
while($str =~ /__(\w+)\(([\s\,\w\$]*)\)__/){
|
||||
$func = $1;
|
||||
$parameter = $2;
|
||||
log_this("parameter is $parameter,fun is $func");
|
||||
@para = split /\s*,\s*/, trim($parameter);
|
||||
if($func eq "GETNODEATTR"){
|
||||
$value= getnodeattr(@para);
|
||||
log_this("value is $value");
|
||||
if($value eq "Unknown"){
|
||||
$value = '';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user