No longer require `forwarded_port_key` setting, its gone

This commit is contained in:
Mitchell Hashimoto 2012-01-06 18:03:21 -08:00
parent faaa763d50
commit d094432238
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ and use it.
end
def validate(env, errors)
[:username, :host, :forwarded_port_key, :max_tries, :timeout].each do |field|
[:username, :host, :max_tries, :timeout].each do |field|
errors.add(I18n.t("vagrant.config.common.error_empty", :field => field)) if !instance_variable_get("@#{field}".to_sym)
end