Skip to content

Commit

Permalink
修复ci问题
Browse files Browse the repository at this point in the history
  • Loading branch information
chengyouling committed Feb 10, 2025
1 parent f4d0dd4 commit fee2841
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import org.springframework.util.CollectionUtils;

import com.alibaba.cloud.nacos.NacosConfigProperties;
import com.alibaba.nacos.client.config.impl.ConfigHttpClientManager;
import com.alibaba.nacos.common.http.HttpRestResult;
import com.alibaba.nacos.common.http.client.NacosRestTemplate;
import com.alibaba.nacos.common.http.param.Header;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.util.Properties;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;

import org.apache.commons.lang3.StringUtils;
import org.apache.http.HttpStatus;
Expand Down Expand Up @@ -58,7 +57,7 @@ public class ConfigServiceManagerUtils {

private static long refreshWindow;

private static NacosRestTemplate nacosRestTemplate;
private static volatile NacosRestTemplate nacosRestTemplate;

public static boolean checkServerConnect(String serverAddress) {
if (StringUtils.isEmpty(serverAddress)) {
Expand Down

0 comments on commit fee2841

Please sign in to comment.