diff options
author | snehaldwivedi <sdwivedi@msystechnologies.com> | 2021-10-22 03:59:47 -0700 |
---|---|---|
committer | snehaldwivedi <sdwivedi@msystechnologies.com> | 2021-11-01 23:56:51 -0700 |
commit | 9110f7e9b1dc6e9d9406cc148fb3becc90d2abd7 (patch) | |
tree | 3f14c3e3cccd9d050a35c11753686d0812d68242 | |
parent | 926517d92ec5c1ca823bb38c5ca68d9d4f67b6d8 (diff) | |
download | chef-9110f7e9b1dc6e9d9406cc148fb3becc90d2abd7.tar.gz |
updated reviewed changes
Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
-rw-r--r-- | lib/chef/application/base.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/chef/application/base.rb b/lib/chef/application/base.rb index 7365ecadec..770b06e9d0 100644 --- a/lib/chef/application/base.rb +++ b/lib/chef/application/base.rb @@ -254,13 +254,7 @@ class Chef::Application::Base < Chef::Application short: "-K KEY_FILE", long: "--validation_key KEY_FILE", description: "Set the validation key file location, used for registering new clients.", - proc: lambda { |argument| - if File.exist?(File.expand_path(argument)) - File.expand_path(argument) - else - argument - end - } + proc: lambda { |argument| File.expand_path(argument) } option :client_key, short: "-k KEY_FILE", |