|
|
|
@@ -2887,7 +2887,7 @@ func getFlavorNameByFlavorCode(flavorCode string) string { |
|
|
|
} |
|
|
|
|
|
|
|
func GetLogFromModelDir(ctx *context.Context) { |
|
|
|
prefix := "/" + setting.CBCodePathPrefix + ctx.Cloudbrain.JobName |
|
|
|
prefix := "/" + setting.CBCodePathPrefix + ctx.Cloudbrain.JobName + ModelMountPath |
|
|
|
files, err := storage.GetOneLevelAllObjectUnderDirMinio(setting.Attachment.Minio.Bucket, prefix, "") |
|
|
|
if err != nil { |
|
|
|
log.Error("query cloudbrain model failed: %v", err) |
|
|
|
|