From c55363412e03f79a2faf14034bf022f09b5c7d0d Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Tue, 8 Jan 2019 10:31:10 -0800 Subject: [PATCH] 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. --- lib/vagrant/action/builtin/box_check_outdated.rb | 3 ++- templates/locales/en.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/action/builtin/box_check_outdated.rb b/lib/vagrant/action/builtin/box_check_outdated.rb index 336a0e4a4..f35a76a59 100644 --- a/lib/vagrant/action/builtin/box_check_outdated.rb +++ b/lib/vagrant/action/builtin/box_check_outdated.rb @@ -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) diff --git a/templates/locales/en.yml b/templates/locales/en.yml index 12865aad6..fe2a80115 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -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