|
|
|
@@ -476,6 +476,7 @@ func ModelList(ctx *context.APIContext) { |
|
|
|
if !strings.HasSuffix(prefix, "/") { |
|
|
|
prefix += "/" |
|
|
|
} |
|
|
|
log.Info(prefix) |
|
|
|
fileInfos, err = storage.GetOneLevelAllObjectUnderDir(setting.Bucket, prefix, parentDir) |
|
|
|
if err != nil { |
|
|
|
log.Info("get TrainJobListModel failed:", err) |
|
|
|
|