Removing skip attribute

This commit is contained in:
bugbuilder 2017-11-10 23:58:24 -03:00
parent be2afccb85
commit f7b45312f1
1 changed files with 0 additions and 7 deletions

View File

@ -14,19 +14,12 @@ import (
type stepRemoteUpload struct {
Key string
Message string
// Set this to true for skip
Skip bool
}
func (s *stepRemoteUpload) Run(state multistep.StateBag) multistep.StepAction {
driver := state.Get("driver").(vmwcommon.Driver)
ui := state.Get("ui").(packer.Ui)
if s.Skip {
return multistep.ActionContinue
}
remote, ok := driver.(RemoteDriver)
if !ok {
return multistep.ActionContinue