Skip to content

Commit

Permalink
Fix it #108
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopeng-he committed Mar 20, 2017
1 parent ea47ea8 commit 5e51e27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private void increaseShardingCount() throws Exception {
}
curatorFramework.setData().forPath(SaturnExecutorsNode.SHARDING_COUNT_PATH, _shardingCount.toString().getBytes("UTF-8"));
} else {
curatorFramework.create().forPath(SaturnExecutorsNode.SHARDING_COUNT_PATH, _shardingCount.toString().getBytes("UTF-8"));
curatorFramework.create().creatingParentsIfNeeded().forPath(SaturnExecutorsNode.SHARDING_COUNT_PATH, _shardingCount.toString().getBytes("UTF-8"));
}
}

Expand Down

0 comments on commit 5e51e27

Please sign in to comment.