Remove deprecation log messages
This commit is contained in:
parent
867d65b079
commit
c6153ff84f
@ -27,10 +27,6 @@ module Vagrant
|
||||
|
||||
DEFAULT_LOCAL_DATA = ".vagrant"
|
||||
|
||||
# List of hooks which are deprecated and should log a warning
|
||||
# when used
|
||||
DEPRECATED_HOOKS = [:authenticate_box_url].freeze
|
||||
|
||||
# The `cwd` that this environment represents
|
||||
attr_reader :cwd
|
||||
|
||||
@ -522,11 +518,6 @@ module Vagrant
|
||||
def hook(name, opts=nil)
|
||||
@logger.info("Running hook: #{name}")
|
||||
|
||||
if DEPRECATED_HOOKS.include?(name.to_sym)
|
||||
@logger.warn("Deprecated hook: #{name}. This hook is deprecated and " \
|
||||
"will be removed in a future version of Vagrant.")
|
||||
end
|
||||
|
||||
opts ||= {}
|
||||
opts[:callable] ||= Action::Builder.new
|
||||
opts[:runner] ||= action_runner
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user