Remove TODO
This commit is contained in:
parent
a20404599e
commit
e0806f623c
|
@ -109,7 +109,6 @@ module Vagrant
|
|||
triggers.each do |trigger|
|
||||
@logger.debug("Running trigger #{trigger.id}...")
|
||||
|
||||
# TODO: I18n me
|
||||
if !trigger.name.nil?
|
||||
@machine.ui.info(I18n.t("vagrant.trigger.fire_with_name",
|
||||
name: trigger.name))
|
||||
|
|
|
@ -144,8 +144,6 @@ module VagrantPlugins
|
|||
cmd: @command))
|
||||
end
|
||||
|
||||
# TODO: Does it make sense to strip out the "shell provisioner" error key here?
|
||||
# We could add more context around triggers?
|
||||
if @run
|
||||
errorz = @run.validate(machine)
|
||||
errors.concat errorz["shell provisioner"] if !errorz.empty?
|
||||
|
@ -179,13 +177,6 @@ module VagrantPlugins
|
|||
end
|
||||
end
|
||||
|
||||
if !@only_on.nil?
|
||||
# this check isn't quite right...
|
||||
#if @only_on.all? { |o| !o.is_a?(String) || !o.is_a?(Regexp) }
|
||||
# errors << I18n.t("vagrant.config.triggers.only_on_bad_type")
|
||||
#end
|
||||
end
|
||||
|
||||
errors
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue