Mercurial > hg > Database > Christie
changeset 53:be8c40709e89
fix CheckComingHost else
author | akahori |
---|---|
date | Thu, 23 Aug 2018 09:54:50 +0900 |
parents | bacc42fb65a1 |
children | 84089813455f |
files | src/main/java/christie/topology/manager/CheckComingHost.java |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/christie/topology/manager/CheckComingHost.java Thu Aug 23 09:53:55 2018 +0900 +++ b/src/main/java/christie/topology/manager/CheckComingHost.java Thu Aug 23 09:54:50 2018 +0900 @@ -24,16 +24,16 @@ // check cookie if (hostMessage.cookie != null) { - if (absCookieTable.containsKey(hostMessage.cookie)){ + if (absCookieTable.containsKey(hostMessage.cookie)) { hostMessage.absName = absCookieTable.get(hostMessage.cookie); System.out.println("match"); // coming host has ever joined this App getLocalDGM().put("reconnectHost", hostMessage); cgm.setup(new SearchHostName()); - }else { - getLocalDGM().put("orderHash", "order"); - getLocalDGM().put("newHost", hostMessage); } + }else { + getLocalDGM().put("orderHash", "order"); + getLocalDGM().put("newHost", hostMessage); } cgm.setup(new CheckComingHost()); }