diff --git a/client/src/main/java/com/alibaba/nacos/client/naming/beat/BeatInfo.java b/client/src/main/java/com/alibaba/nacos/client/naming/beat/BeatInfo.java index 158bde87b..98d6d40b2 100644 --- a/client/src/main/java/com/alibaba/nacos/client/naming/beat/BeatInfo.java +++ b/client/src/main/java/com/alibaba/nacos/client/naming/beat/BeatInfo.java @@ -30,7 +30,7 @@ public class BeatInfo { private String serviceName; private String cluster; private Map metadata; - private boolean scheduled; + private volatile boolean scheduled; @Override public String toString() {