control plugin fix LocalDiskRuleStorage mkdirs (#11620)
This commit is contained in:
parent
84900756d1
commit
b4a380f15b
@ -59,7 +59,7 @@ public class LocalDiskRuleStorage implements RuleStorage {
|
||||
private File getConnectionRuleFile() {
|
||||
File baseDir = new File(localRuleBaseDir, "data" + File.separator + "connection" + File.separator);
|
||||
if (!baseDir.exists()) {
|
||||
baseDir.mkdir();
|
||||
baseDir.mkdirs();
|
||||
}
|
||||
return new File(baseDir, "limitRule");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user