mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Fix output message for box missing metadata
This commit is contained in:
parent
5564b8a1fd
commit
11ca740311
1 changed files with 3 additions and 3 deletions
|
|
@ -59,11 +59,11 @@ module VagrantPlugins
|
|||
def outdated_global(download_options)
|
||||
@env.boxes.all.reverse.each do |name, version, provider|
|
||||
box = @env.boxes.find(name, provider, version)
|
||||
if !box.metadata_url
|
||||
if !box&.metadata_url
|
||||
@env.ui.output(I18n.t(
|
||||
"vagrant.box_outdated_no_metadata",
|
||||
name: box.name,
|
||||
provider: box.provider))
|
||||
name: name,
|
||||
provider: provider))
|
||||
next
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue