Merge pull request #10573 from briancain/show-box-version-on-up

Fixes #10339: Show box version during outdated check
This commit is contained in:
Brian Cain 2019-01-08 15:41:16 -08:00 committed by GitHub
commit e1a13714c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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