diff options
author | Tim Smith <tsmith@chef.io> | 2019-08-20 15:17:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-20 15:17:31 -0400 |
commit | 99fbfb06b9780a72a0033507fe519acd81b4a3b0 (patch) | |
tree | ec4a09312d259b85b85e25f3175da2d039f95287 | |
parent | 369333eacb10b426f4056208deeacd5e365365de (diff) | |
parent | 1e90c1b0650060e96129b2d50ef5f24ae7eac2ec (diff) | |
download | chef-99fbfb06b9780a72a0033507fe519acd81b4a3b0.tar.gz |
Merge pull request #8828 from andrewdotn/master
Fix crash when showing error about missing profile
-rw-r--r-- | chef-config/lib/chef-config/mixin/credentials.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/mixin/credentials.rb b/chef-config/lib/chef-config/mixin/credentials.rb index 3882924d1a..bb4d55f4bc 100644 --- a/chef-config/lib/chef-config/mixin/credentials.rb +++ b/chef-config/lib/chef-config/mixin/credentials.rb @@ -92,7 +92,7 @@ module ChefConfig # raise an error. return if profile == "default" - raise ChefConfig::ConfigurationError, "Profile #{profile} doesn't exist. Please add it to #{credentials_file}." + raise ChefConfig::ConfigurationError, "Profile #{profile} doesn't exist. Please add it to #{credentials_file_path}." end apply_credentials(config[profile], profile) end |