Skip to content

Commit

Permalink
Fix #62
Browse files Browse the repository at this point in the history
  • Loading branch information
hxy1991 committed Sep 18, 2018
1 parent 71c4c43 commit 59b6562
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public HttpResult httpGet(String path, List<String> headers, List<String> paramV
new Object[] { serverListMgr.getCurrentServerAddr()});
throw ioe;
}
} while (System.currentTimeMillis() > endTime);
} while (System.currentTimeMillis() <= endTime);

log.error("NACOS-0002",
LoggerHelper.getErrorCodeStr("NACOS", "NACOS-0002", "环境问题", "no available server"));
Expand Down Expand Up @@ -137,7 +137,7 @@ public HttpResult httpPost(String path, List<String> headers, List<String> param
throw ioe;
}

} while (System.currentTimeMillis() > endTime);
} while (System.currentTimeMillis() <= endTime);

log.error("NACOS-0002",
LoggerHelper.getErrorCodeStr("NACOS", "NACOS-0002", "环境问题", "no available server"));
Expand Down Expand Up @@ -179,7 +179,7 @@ public HttpResult httpDelete(String path, List<String> headers, List<String> par
throw ioe;
}

} while (System.currentTimeMillis() > endTime);
} while (System.currentTimeMillis() <= endTime);

log.error("NACOS-0002",
LoggerHelper.getErrorCodeStr("NACOS", "NACOS-0002", "环境问题", "no available server"));
Expand Down

0 comments on commit 59b6562

Please sign in to comment.