Fix the number of cancelled daemons displayed

This commit is contained in:
Guillaume Nodet
2021-04-29 15:43:48 +02:00
parent 3577951ed5
commit 6a7f172412
2 changed files with 6 additions and 5 deletions

View File

@@ -508,7 +508,7 @@ public class Server implements AutoCloseable, Runnable {
}
LOGGER.info("Received message: {}", message);
if (message == Message.BareMessage.CANCEL_BUILD_SINGLETON) {
updateState(DaemonState.Canceled);
updateState(Canceled);
return;
} else {
synchronized (recvQueue) {