archive,cmd,images: clean up some code
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
This commit is contained in:
6
cmd/dist/fetch.go
vendored
6
cmd/dist/fetch.go
vendored
@@ -212,11 +212,7 @@ func (j *jobs) jobs() []string {
|
||||
defer j.mu.Unlock()
|
||||
|
||||
var jobs []string
|
||||
for _, j := range j.refs {
|
||||
jobs = append(jobs, j)
|
||||
}
|
||||
|
||||
return jobs
|
||||
return append(jobs, j.refs...)
|
||||
}
|
||||
|
||||
type statusInfo struct {
|
||||
|
Reference in New Issue
Block a user