Update trigger code docs

This commit is contained in:
Brian Cain 2018-03-15 14:43:39 -07:00
parent 1591ae9916
commit d3dde739fe
No known key found for this signature in database
GPG Key ID: 43D51080D357A001
2 changed files with 3 additions and 4 deletions

View File

@ -136,8 +136,7 @@ module VagrantPlugins
end
end
# Validate Trigger settings
# TODO: Validate not called if there are guests defined in vagrantfile
# Validate Trigger Arrays
def validate(machine)
errors = _detected_errors
@_before_triggers.each do |bt|

View File

@ -53,7 +53,7 @@ module VagrantPlugins
# If set, will only run trigger for guests that match keys for this parameter.
#
# @return [String, Array]
# @return [String, Regex, Array]
attr_accessor :only_on
# A local inline or file script to execute for the trigger
@ -167,7 +167,7 @@ module VagrantPlugins
#
# @return [String]
def to_s
"Trigger Config"
"trigger config"
end
end
end