Set box metadata url

This commit is contained in:
sophia 2022-03-01 16:21:53 -06:00 committed by Paul Hinze
parent d9bcdba830
commit 8b5bc0cd1c
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0
2 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,7 @@ module VagrantPlugins
res.path
end
# @return [Hash<String, String>] metadata
# @return [Hash] metadata
def metadata
res = client.metadata(Empty.new)
res.metadata

View File

@ -15,6 +15,7 @@ module VagrantPlugins
box_client.provider.to_sym,
box_client.version,
Pathname.new(box_client.directory),
metadata_url: box_client.metadata_url,
client: box_client
)
box
@ -31,6 +32,7 @@ module VagrantPlugins
box_client.provider.to_sym,
box_client.version,
Pathname.new(box_client.directory),
metadata_url: box_client.metadata_url,
client: box_client
)
end
@ -59,6 +61,7 @@ module VagrantPlugins
box_client.provider.to_sym,
box_client.version,
Pathname.new(box_client.directory),
metadata_url: box_client.metadata_url,
client: box_client
)
box