From eee11cf1ce0d4fe4200ea76a55c88da7f286a2df Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 8 Nov 2021 17:11:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- modules/storage/obs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/storage/obs.go b/modules/storage/obs.go index b78439854..b6083af7b 100755 --- a/modules/storage/obs.go +++ b/modules/storage/obs.go @@ -297,6 +297,7 @@ func GetObsListObject(jobName, parentDir string) ([]FileInfo, error) { fileName = str1[len(str1)-2] isDir = true nextParentDir = fileName + log.Info("nextParentDir1=" + nextParentDir) if fileName == parentDir || (fileName+"/") == setting.OutPutPath { continue } @@ -304,7 +305,7 @@ func GetObsListObject(jobName, parentDir string) ([]FileInfo, error) { fileName = str1[len(str1)-1] isDir = false } - + log.Info("nextParentDir2=" + nextParentDir) fileInfo := FileInfo{ ModTime: val.LastModified.Format("2006-01-02 15:04:05"), FileName: fileName,