Browse Source

LL: initial container can download label file

Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
tags/v0.5.1
JimmyYang20 3 years ago
parent
commit
6f4b1f6896
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      pkg/localcontroller/util/util.go

+ 6
- 2
pkg/localcontroller/util/util.go View File

@@ -124,8 +124,12 @@ func ParsingDatasetIndex(samples []string, prefix string) []string {
var l []string
l = append(l, prefix)
for _, v := range samples {
absURL := strings.Split(v, " ")[0]
l = append(l, absURL)
tmp := strings.Split(v, " ")
for _, data := range tmp {
if path.Ext(data) != "" {
l = append(l, data)
}
}
}

return l


Loading…
Cancel
Save