plugins/commands/version/command.rb in vagrant-unbundled-2.0.1.0 vs plugins/commands/version/command.rb in vagrant-unbundled-2.0.2.0
- old
+ new
@@ -20,10 +20,10 @@
@env.ui.output(I18n.t(
"vagrant.version_current", version: Vagrant::VERSION))
@env.ui.machine("version-installed", Vagrant::VERSION)
# Load the latest information
- cp = @env.checkpoint
+ cp = Vagrant::Util::CheckpointClient.instance.result
if !cp
@env.ui.output("\n"+I18n.t(
"vagrant.version_no_checkpoint"))
return 0
end