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:
parent
3111c7342a
commit
c55363412e
|
@ -51,7 +51,8 @@ module Vagrant
|
||||||
|
|
||||||
env[:ui].output(I18n.t(
|
env[:ui].output(I18n.t(
|
||||||
"vagrant.box_outdated_checking_with_refresh",
|
"vagrant.box_outdated_checking_with_refresh",
|
||||||
name: box.name))
|
name: box.name,
|
||||||
|
version: box.version))
|
||||||
update = nil
|
update = nil
|
||||||
begin
|
begin
|
||||||
update = box.has_update?(constraints, download_options: download_options)
|
update = box.has_update?(constraints, download_options: download_options)
|
||||||
|
|
|
@ -46,7 +46,7 @@ en:
|
||||||
box_outdated: |-
|
box_outdated: |-
|
||||||
* '%{name}' for '%{provider}' is outdated! Current: %{current}. Latest: %{latest}
|
* '%{name}' for '%{provider}' is outdated! Current: %{current}. Latest: %{latest}
|
||||||
box_outdated_checking_with_refresh: |-
|
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: |-
|
box_outdated_local: |-
|
||||||
A newer version of the box '%{name}' is available and already
|
A newer version of the box '%{name}' is available and already
|
||||||
installed, but your Vagrant machine is running against
|
installed, but your Vagrant machine is running against
|
||||||
|
|
Loading…
Reference in New Issue