Cleaning refactoring name errors
This commit is contained in:
parent
b50e279d8a
commit
f31f154237
|
@ -20,7 +20,7 @@ func (s *StepRegister) Run(state multistep.StateBag) multistep.StepAction {
|
|||
vmxPath := state.Get("vmx_path").(string)
|
||||
|
||||
if remoteDriver, ok := driver.(RemoteDriver); ok {
|
||||
ui.Say("Registering remoteUpload VM...")
|
||||
ui.Say("Registering remote VM...")
|
||||
if err := remoteDriver.Register(vmxPath); err != nil {
|
||||
err := fmt.Errorf("Error registering VM: %s", err)
|
||||
state.Put("error", err)
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
"github.com/mitchellh/multistep"
|
||||
)
|
||||
|
||||
// stepRemoteUpload uploads some thing from the state bag to a remoteUpload driver
|
||||
// (if it can) and stores that new remoteUpload path into the state bag.
|
||||
// stepRemoteUpload uploads some thing from the state bag to a remote driver
|
||||
// (if it can) and stores that new remote path into the state bag.
|
||||
type stepRemoteUpload struct {
|
||||
Key string
|
||||
Message string
|
||||
|
|
|
@ -24,7 +24,7 @@ func (s *stepVerifyCache) Run(state multistep.StateBag) multistep.StepAction {
|
|||
ui := state.Get("ui").(packer.Ui)
|
||||
|
||||
if esx5, ok := driver.(*ESX5Driver); ok {
|
||||
ui.Say("Verifying remoteUpload cache")
|
||||
ui.Say("Verifying remote cache")
|
||||
|
||||
for _, url := range s.download.Url {
|
||||
targetPath := s.download.TargetPath
|
||||
|
|
Loading…
Reference in New Issue