From c4e89b4186c8f265c85360517d8504e36d9eee67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?sky=20li=20=28=E6=9D=8E=E5=B0=91=E5=87=AF=29-=E6=B5=AA?= =?UTF-8?q?=E6=BD=AE=E6=95=B0=E6=8D=AE?= Date: Fri, 8 Jul 2022 09:48:13 +0800 Subject: [PATCH] Fix syntax errors in comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sky li (李少凯)-浪潮数据 --- client/pkg/fileutil/fileutil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/pkg/fileutil/fileutil.go b/client/pkg/fileutil/fileutil.go index 9719f0327cb..1887264eca2 100644 --- a/client/pkg/fileutil/fileutil.go +++ b/client/pkg/fileutil/fileutil.go @@ -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 {