remove unnecessary initialization

pull/5165/head
bugbuilder 9 years ago
parent 22aa89db27
commit d4e0847a74

@ -25,12 +25,10 @@ func (s *stepDownload) Run(state multistep.StateBag) multistep.StepAction {
if esx5, ok := driver.(*ESX5Driver); ok {
ui.Say("Verifying remote cache")
targetPath := ""
for _, url := range s.step.Url {
targetPath = s.step.TargetPath
targetPath := s.step.TargetPath
if u, err := neturl.Parse(url); err == nil {
if u.Scheme == "file" {
if u.Path != "" {

Loading…
Cancel
Save