one more place to check SpotPrice

pull/2845/head
Adrian Bridgett 11 years ago
parent da771c469e
commit 3257b26fa7

@ -19,7 +19,7 @@ func (s *stepStopInstance) Run(state multistep.StateBag) multistep.StepAction {
ui := state.Get("ui").(packer.Ui)
// Skip when it is a spot instance
if s.SpotPrice != "" {
if s.SpotPrice != "" && s.SpotPrice != "0" {
return multistep.ActionContinue
}

Loading…
Cancel
Save