|
|
@@ -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, |
|
|
|