summaryrefslogtreecommitdiff
path: root/chef-config/lib/chef-config/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef-config/lib/chef-config/config.rb')
-rw-r--r--chef-config/lib/chef-config/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb
index e6748897ae..49d775232d 100644
--- a/chef-config/lib/chef-config/config.rb
+++ b/chef-config/lib/chef-config/config.rb
@@ -87,7 +87,7 @@ module ChefConfig
#
configurable(:chef_server_url).writes_value do |uri|
unless is_valid_url? uri
- raise ConfigurationError, "#{url} is an invalid chef_server_url."
+ raise ConfigurationError, "#{uri} is an invalid chef_server_url."
end
uri.to_s.strip
end