Removing skip attribute

pull/5165/head
bugbuilder 9 years ago
parent be2afccb85
commit f7b45312f1

@ -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

Loading…
Cancel
Save