This commit is contained in:
Adrien Delorme 2018-09-05 18:31:27 +02:00
parent a11f985e3c
commit 7efe3cac3d
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ func (u *Ui) ProgressBar() packer.ProgressBar {
}
type RemoteProgressBarClient struct {
id string
id string // TODO(azr): don't need an id any more since bar is a singleton
client *rpc.Client
}

View File

@ -128,7 +128,7 @@ func (p *Provisioner) ProvisionDownload(ui packer.Ui, comm packer.Communicator)
// Get a default progress bar
pb := packer.NoopProgressBar{}
pb.Start(0)
pb.Start(0) // TODO: find size ? Remove ?
defer pb.Finish()
// Create MultiWriter for the current progress