Skip to content

Commit

Permalink
[ISSUE #8925] fix that the value of hasQueryString is always false (#…
Browse files Browse the repository at this point in the history
…8927)

Close #8925
  • Loading branch information
onewe authored Aug 11, 2022
1 parent 65244c5 commit 493b99b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
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 493b99b

Please sign in to comment.