Browse Source

Merge pull request #343 from JimmyYang20/robot

LL: initial container can download label file
tags/v0.5.1
KubeEdge Bot GitHub 3 years ago
parent
commit
0bce300839
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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