remove incorrect logging when standby controller failed
Fixed the previous commit that returns from a failure situation withouth finalizing the scheduling. Closes-Bug: 1788697 Change-Id: I8d80e4938067df13ccbd36b886f20c5359c39eac Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
parent
d21026748a
commit
1d6df43950
|
@ -322,7 +322,7 @@ static void sm_service_domain_filter_by_assignment( void* user_data[],
|
||||||
DPRINTFE( "Failed to get hostname, error=%s.",
|
DPRINTFE( "Failed to get hostname, error=%s.",
|
||||||
sm_error_str( error ) );
|
sm_error_str( error ) );
|
||||||
hostname[0] = '\0';
|
hostname[0] = '\0';
|
||||||
return;
|
goto UPDATE;
|
||||||
}
|
}
|
||||||
SmNodeScheduleStateT current_schedule_state = sm_get_controller_state( hostname );
|
SmNodeScheduleStateT current_schedule_state = sm_get_controller_state( hostname );
|
||||||
SmNodeScheduleStateT to_schedule_state;
|
SmNodeScheduleStateT to_schedule_state;
|
||||||
|
|
Loading…
Reference in New Issue