gen-manifests: minor output changes
Don't print "Worker started" message. Print "done" after submitting all jobs to the queue.
This commit is contained in:
parent
b20605d9f1
commit
2afc8fd1dd
2 changed files with 1 additions and 1 deletions
|
|
@ -441,6 +441,7 @@ func main() {
|
||||||
for _, j := range jobs {
|
for _, j := range jobs {
|
||||||
wq.submitJob(j)
|
wq.submitJob(j)
|
||||||
}
|
}
|
||||||
|
fmt.Println("done")
|
||||||
errs := wq.wait()
|
errs := wq.wait()
|
||||||
exit := 0
|
exit := 0
|
||||||
if len(errs) > 0 {
|
if len(errs) > 0 {
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,6 @@ func (wq *workerQueue) startWorker(idx uint32) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
wq.msgQueue <- fmt.Sprintf("Worker %d started", idx)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (wq *workerQueue) startMessagePrinter() {
|
func (wq *workerQueue) startMessagePrinter() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue