diff options
author | Marc A. Paradise <marc.paradise@gmail.com> | 2019-04-12 12:32:22 -0400 |
---|---|---|
committer | Marc A. Paradise <marc.paradise@gmail.com> | 2019-04-24 13:27:57 -0400 |
commit | 1c476bc8818f8c4cf89cd4118b89c645184ff301 (patch) | |
tree | caf1e9d8c33e68dcaa2ac93a18c2104c483d8ae6 /lib | |
parent | 5c0f7dd775d060c2d9f827ff68be3f2ecbea8b3d (diff) | |
download | chef-1c476bc8818f8c4cf89cd4118b89c645184ff301.tar.gz |
Remove unnecessary conditional
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/knife.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb index b1f85386be..e5df72259d 100644 --- a/lib/chef/knife.rb +++ b/lib/chef/knife.rb @@ -351,7 +351,7 @@ class Chef end if Chef::Config[:knife].key?(key) @key_sources[:config] << key - memo[key] = Chef::Config[:knife][key] if Chef::Config[:knife].key?(key) + memo[key] = Chef::Config[:knife][key] end end end |