core: add more logging to check box outdated
This commit is contained in:
parent
f309ed3103
commit
d1a26bf8ca
|
@ -18,6 +18,8 @@ module Vagrant
|
||||||
|
|
||||||
if !env[:box_outdated_force]
|
if !env[:box_outdated_force]
|
||||||
if !machine.config.vm.box_check_update
|
if !machine.config.vm.box_check_update
|
||||||
|
@logger.debug(
|
||||||
|
"Not checking for update: no force and no update config")
|
||||||
return @app.call(env)
|
return @app.call(env)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -25,6 +27,7 @@ module Vagrant
|
||||||
if !machine.box
|
if !machine.box
|
||||||
# We don't have a box. Just ignore, we can't check for
|
# We don't have a box. Just ignore, we can't check for
|
||||||
# outdated...
|
# outdated...
|
||||||
|
@logger.warn("Not checking for update, no box")
|
||||||
return @app.call(env)
|
return @app.call(env)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue