Fixes #10339: Show box version during outdated check

This commit updates the output Vagrant displays when checking if a box
is out of date by adding the version.
This commit is contained in:
Brian Cain 2019-01-08 10:31:10 -08:00
parent 3111c7342a
commit c55363412e
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
2 changed files with 3 additions and 2 deletions

View File

@ -51,7 +51,8 @@ module Vagrant
env[:ui].output(I18n.t(
"vagrant.box_outdated_checking_with_refresh",
name: box.name))
name: box.name,
version: box.version))
update = nil
begin
update = box.has_update?(constraints, download_options: download_options)

View File

@ -46,7 +46,7 @@ en:
box_outdated: |-
* '%{name}' for '%{provider}' is outdated! Current: %{current}. Latest: %{latest}
box_outdated_checking_with_refresh: |-
Checking if box '%{name}' is up to date...
Checking if box '%{name}' version '%{version}' is up to date...
box_outdated_local: |-
A newer version of the box '%{name}' is available and already
installed, but your Vagrant machine is running against