Skip to content

Commit

Permalink
Merge pull request #14201 from lishaokai1995/main
Browse files Browse the repository at this point in the history
Fix syntax errors in comments
  • Loading branch information
ptabor committed Jul 13, 2022
2 parents 53bfdc1 + c4e89b4 commit dae7838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/pkg/fileutil/fileutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func IsDirWriteable(dir string) error {
// does not exists. TouchDirAll also ensures the given directory is writable.
func TouchDirAll(lg *zap.Logger, dir string) error {
// If path is already a directory, MkdirAll does nothing and returns nil, so,
// first check if dir exist with an expected permission mode.
// first check if dir exists with an expected permission mode.
if Exist(dir) {
err := CheckDirPermission(dir, PrivateDirMode)
if err != nil {
Expand Down

0 comments on commit dae7838

Please sign in to comment.