Minor update to match 2.6 stream code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
99824cb458
commit
23c18a60c5
@ -135,7 +135,7 @@ sub powercmd_boot {
|
||||
|
||||
# Attribute powerinterval in site table,
|
||||
# to control the rpower speed
|
||||
if(defined($request->{'powerinterval'}) && ($request->{'powerinterval'} ne '')) {
|
||||
if( defined($request->{'powerinterval'}) ) {
|
||||
Time::HiRes::sleep($request->{'powerinterval'});
|
||||
}
|
||||
|
||||
@ -222,7 +222,7 @@ sub powercmd {
|
||||
# to control the rpower speed
|
||||
if (($action ne 'enter_rack_standby') && ($action ne 'exit_rack_standby') && ($action ne 'stat') && ($action ne 'status')
|
||||
&& ($action ne 'state') && ($action ne 'off') && ($action ne 'softoff')) {
|
||||
if(defined($request->{'powerinterval'}) && ($request->{'powerinterval'} ne '')) {
|
||||
if( defined($request->{'powerinterval'}) ) {
|
||||
Time::HiRes::sleep($request->{'powerinterval'});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user