Fix hugepage status in popup
This commit is contained in:
parent
1b69dfc0e5
commit
c04f773222
3 changed files with 21 additions and 6 deletions
|
@ -228,6 +228,10 @@ unsigned Service::setClientStatus(const std::string& clientIp, const std::string
|
|||
clientStatus.parseFromJson(document);
|
||||
clientStatus.setExternalIp(clientIp);
|
||||
|
||||
if (m_clientStatus.find(clientId) == m_clientStatus.end()) {
|
||||
m_clientCommand[clientId] = ControlCommand(ControlCommand::RESTART);
|
||||
}
|
||||
|
||||
m_clientStatus[clientId] = clientStatus;
|
||||
|
||||
resultCode = getClientCommand(clientId, resp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue