Skip to content

Commit

Permalink
Merge pull request #63 from hxy1991/master
Browse files Browse the repository at this point in the history
Fix #62
  • Loading branch information
hxy1991 authored Sep 19, 2018
2 parents 71c4c43 + 59b6562 commit d9a266a
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 d9a266a

Please sign in to comment.