vagrant/plugins/commands/snapshot/command
Brian Cain f998e535ce
Fixes #11139: Skip machines that haven't been created for snapshot save
This commit fixes the original #11027 fix, which assumed that the
hyper-v provider just wasn't properly getting a VM id when it listed
snapshots. In reality, it was just that if you invoke the
`with_target_vm` method with no arguments, it runs on the entire environment.
This meant that the capability snapshot_list attempted to be invoked on
machines that didn't exist yet, which is the original cause for why the
list_snapshot method did not recieve a vm ID. This commit fixes that by
simply skipping the machine if it does not yet exist.
2019-10-24 13:33:25 -07:00
..
delete.rb (#7188) Clean up vagrant snapshot restore/delete error messages 2017-06-07 09:12:20 -07:00
list.rb Separate snapshot names when listing snapshots 2019-05-06 11:09:34 -07:00
pop.rb Move up doc string for `vagrant snapshot pop` 2019-04-09 13:14:44 -07:00
push.rb commands/snapshot: push and pop 2015-10-07 22:52:27 -04:00
push_shared.rb Fix up style nit. 2016-03-04 17:35:54 +00:00
restore.rb Update behavior of `snapshot restore` and `snapshot pop` 2018-12-07 16:17:44 -08:00
root.rb snapshot plugin: Raise error for bad subcommand. 2018-12-01 14:44:42 -05:00
save.rb Fixes #11139: Skip machines that haven't been created for snapshot save 2019-10-24 13:33:25 -07:00