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:
Bin Qian 2018-08-29 10:19:58 -04:00
parent d21026748a
commit 1d6df43950
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ static void sm_service_domain_filter_by_assignment( void* user_data[],
DPRINTFE( "Failed to get hostname, error=%s.",
sm_error_str( error ) );
hostname[0] = '\0';
return;
goto UPDATE;
}
SmNodeScheduleStateT current_schedule_state = sm_get_controller_state( hostname );
SmNodeScheduleStateT to_schedule_state;