fix comment error (#1446)

This commit is contained in:
DK.Pino 2019-12-12 14:20:27 +08:00 committed by bao liang
parent a1ded5ee04
commit 9a3a6f5a3d

View File

@ -101,7 +101,7 @@ public class MasterSchedulerThread implements Runnable {
if(OSUtils.checkResource(masterConfig.getMasterMaxCpuloadAvg(), masterConfig.getMasterReservedMemory())){
if (zkMasterClient.getZkClient().getState() == CuratorFrameworkState.STARTED) {
// create distributed lock with the root node path of the lock space as /dolphinscheduler/lock/failover/master
// create distributed lock with the root node path of the lock space as /dolphinscheduler/lock/masters
String znodeLock = zkMasterClient.getMasterLockPath();
mutex = new InterProcessMutex(zkMasterClient.getZkClient(), znodeLock);