Skip to content

Commit

Permalink
ZOOKEEPER-4007: A typo in the ZKUtil#validateFileInput method
Browse files Browse the repository at this point in the history
Author: luoman <[email protected]>

Reviewers: maoling <[email protected]>

Closes apache#1597 from LuoManGit/ZOOKEEPER-4007
  • Loading branch information
LuoManGit authored and RokLenarcic committed Sep 3, 2022
1 parent 2ae02c1 commit 06264dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public static String validateFileInput(String filePath) {
return "Read permission is denied on the file '" + file.getAbsolutePath() + "'";
}
if (file.isDirectory()) {
return "'" + file.getAbsolutePath() + "' is a direcory. it must be a file.";
return "'" + file.getAbsolutePath() + "' is a directory. it must be a file.";
}
return null;
}
Expand Down

0 comments on commit 06264dd

Please sign in to comment.