This commit is contained in:
Qin Meijie 2020-01-07 10:13:50 +08:00
parent 45c333cf37
commit aa9cd362e3

View File

@ -176,7 +176,7 @@ public class DiskUtil {
}
static public File heartBeatFile() {
return new File(NACOS_HOME, "status/heartBeat.txt");
return new File(NACOS_HOME, "status" + File.separator + "heartBeat.txt");
}
static public String relativePath(String dataId, String group) {