diff --git a/packer/rpc/ui.go b/packer/rpc/ui.go index c1ed2435f..afd73fd38 100644 --- a/packer/rpc/ui.go +++ b/packer/rpc/ui.go @@ -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 } diff --git a/provisioner/file/provisioner.go b/provisioner/file/provisioner.go index 474e87596..7ae675f26 100644 --- a/provisioner/file/provisioner.go +++ b/provisioner/file/provisioner.go @@ -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