diff options
author | Claire McQuin <claire@getchef.com> | 2014-12-19 12:03:40 -0800 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-12-19 12:03:40 -0800 |
commit | 79ee763e6809ad6f767b5e0011a7469b5aa61c63 (patch) | |
tree | cf1e26aa157992a565a337a40cddb1504f6fa9a6 | |
parent | 3773e1835e576df5bdb726ab8818783598eb8926 (diff) | |
download | chef-79ee763e6809ad6f767b5e0011a7469b5aa61c63.tar.gz |
Make config a reader.
-rw-r--r-- | lib/chef/search/query.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/search/query.rb b/lib/chef/search/query.rb index 610f247420..202734750a 100644 --- a/lib/chef/search/query.rb +++ b/lib/chef/search/query.rb @@ -26,8 +26,8 @@ class Chef class Search class Query - attr_accessor :config, :rest - private :config + attr_accessor :rest + attr_reader :config def initialize(url=nil, config:Chef::Config) @config = config |