Skip to content

Commit

Permalink
[ISSUE alibaba#8925] fix that the value of hasQueryString is always f…
Browse files Browse the repository at this point in the history
…alse

Close alibaba#8925
  • Loading branch information
onewe committed Aug 10, 2022
1 parent 3586ad6 commit b4696ac
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -254,8 +254,8 @@ private void initAddressServerUrl(Properties properties) {
ContextPathUtil.normalizeContextPath(this.contentPath), this.serverListName));
boolean hasQueryString = false;
if (StringUtils.isNotBlank(namespace)) {
addressServerUrlTem.append("?namespace=" + namespace);
hasQueryString = false;
addressServerUrlTem.append("?namespace=").append(namespace);
hasQueryString = true;
}
if (properties != null && properties.containsKey(PropertyKeyConst.ENDPOINT_QUERY_PARAMS)) {
addressServerUrlTem
Expand Down

0 comments on commit b4696ac

Please sign in to comment.