s/destory/destroy

This commit is contained in:
Miles Crabill 2019-09-10 14:31:00 -07:00
parent 7850bf8bc5
commit e6d2a97e12
No known key found for this signature in database
GPG Key ID: 931A9CF57AEAC02D
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func (s *StepUp) Cleanup(state multistep.StateBag) {
err = driver.Destroy(box)
} else {
// Should never get here because of template validation
state.Put("error", fmt.Errorf("Invalid teardown method selected; must be either halt, suspend, or destory."))
state.Put("error", fmt.Errorf("Invalid teardown method selected; must be either halt, suspend, or destroy."))
}
if err != nil {
state.Put("error", fmt.Errorf("Error halting Vagrant machine; please try to do this manually"))