archive,cmd,images: clean up some code

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
This commit is contained in:
unclejack 2017-03-30 11:41:22 +03:00
parent e91d6805af
commit 7b4d238ee3
5 changed files with 5 additions and 11 deletions

6
cmd/dist/fetch.go vendored
View file

@ -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 {