mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Fix the typo in openbmc rflash
Add $ before node to indicate the variable.
This commit is contained in:
parent
76ce161a98
commit
16dac76a31
@ -2596,11 +2596,11 @@ sub rflash_response {
|
||||
}
|
||||
}
|
||||
if (!$found_match) {
|
||||
if (!exists($node_info{node}{upload_wait_attemp})) {
|
||||
$node_info{node}{upload_wait_attemp} = $::UPLOAD_WAIT_ATTEMPT;
|
||||
if (!exists($node_info{$node}{upload_wait_attemp})) {
|
||||
$node_info{$node}{upload_wait_attemp} = $::UPLOAD_WAIT_ATTEMPT;
|
||||
}
|
||||
if($node_info{node}{upload_wait_attemp} > 0) {
|
||||
$node_info{node}{upload_wait_attemp} --;
|
||||
if($node_info{$node}{upload_wait_attemp} > 0) {
|
||||
$node_info{$node}{upload_wait_attemp} --;
|
||||
xCAT::SvrUtils::sendmsg("Could not find ID for firmware $::UPLOAD_FILE_VERSION to activate, waiting $::UPLOAD_WAIT_INTERVAL seconds and retry...", $callback, $node);
|
||||
retry_after($node, "RFLASH_UPDATE_CHECK_ID_REQUEST", $::UPLOAD_WAIT_INTERVAL);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user