core: log if not checking box metadata
This commit is contained in:
parent
891c47c742
commit
7c9fd58786
|
@ -492,7 +492,10 @@ module Vagrant
|
|||
end
|
||||
|
||||
# If this isn't HTTP, then don't do the HEAD request
|
||||
return false if !uri.scheme.downcase.start_with?("http")
|
||||
if !uri.scheme.downcase.start_with?("http")
|
||||
@logger.info("not checking metadata since box URI isn't HTTP")
|
||||
return false
|
||||
end
|
||||
|
||||
output = d.head
|
||||
match = output.scan(/^Content-Type: (.+?)$/i).last
|
||||
|
|
Loading…
Reference in New Issue