Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
+4
-4
@@ -30,11 +30,11 @@ namespace InfrastructureManagement
|
||||
|
||||
bool ScheduleStatusManager::triggerSwitchState(InfrastructureManagement::ScheduleStatus state)
|
||||
{
|
||||
INFO_LOG() << "Schedule " << scheduleId() << ": Trying to switch to state " << toString(state);
|
||||
INFO_LOG(m_logger) << "Schedule " << scheduleId() << ": Trying to switch to state " << toString(state);
|
||||
std::function<void()> f = m_stateSignals.value(state);
|
||||
if (f)
|
||||
{
|
||||
//DEBUG_LOG() << "function: emit signal";
|
||||
//DEBUG_LOG(m_logger) << "function: emit signal";
|
||||
emit f();
|
||||
}
|
||||
return (f != nullptr);
|
||||
@@ -78,13 +78,13 @@ namespace InfrastructureManagement
|
||||
|
||||
void ScheduleStatusManager::setStateInternal(InfrastructureManagement::ScheduleStatus state)
|
||||
{
|
||||
INFO_LOG() << "Schedule " << scheduleId() << ": In setStateInternal: new state " << toString(state);
|
||||
INFO_LOG(m_logger) << "Schedule " << scheduleId() << ": In setStateInternal: new state " << toString(state);
|
||||
if(m_ScheduleStatus == state)
|
||||
return;
|
||||
|
||||
m_ScheduleStatus = state;
|
||||
|
||||
INFO_LOG() << "Schedule " << scheduleId() << ": Changed schedule state to " << toString(state);
|
||||
INFO_LOG(m_logger) << "Schedule " << scheduleId() << ": Changed schedule state to " << toString(state);
|
||||
}
|
||||
|
||||
int ScheduleStatusManager::scheduleId() const
|
||||
|
||||
Reference in new issue
Block a user