cmd/htpacker: swap out progress bar library
Switch to a simpler progress bar library. I've been having trouble tracking down a panic that seemed to affect the prior code; the new code is much easier and uses far fewer async channels and things.
This commit is contained in:
parent
3974db129e
commit
19b2560e2d
6 changed files with 144 additions and 177 deletions
|
|
@ -144,7 +144,7 @@ func PackSpec(c *cobra.Command, spec, out string) error {
|
|||
}
|
||||
|
||||
func doPack(ftp packer.FilesToPack, out string) error {
|
||||
prog := mpbProgress(ftp)
|
||||
prog := newUiProgress(ftp)
|
||||
err := packer.Pack2(ftp, out, prog)
|
||||
prog.Complete()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue