Skip to content

Commit

Permalink
control plugin fix LocalDiskRuleStorage mkdirs (#11620)
Browse files Browse the repository at this point in the history
  • Loading branch information
godhth authored Jan 11, 2024
1 parent 8490075 commit b4a380f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static String defaultBaseDir() {
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");
}
Expand Down

0 comments on commit b4a380f

Please sign in to comment.