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,