diff options
author | Vasu1105 <vasundhara.jagdale@msystechnologies.com> | 2019-10-21 17:49:07 +0530 |
---|---|---|
committer | Vasu1105 <vasundhara.jagdale@msystechnologies.com> | 2020-01-22 10:50:37 +0530 |
commit | 03257148dd5228049084258f0c4d926f9c5d28ee (patch) | |
tree | c8bbf001276193925b2f62bd30ad1bac2ac32593 /lib/chef/knife | |
parent | 67a19dfb20c787a84a905859f3e6e76faa106bab (diff) | |
download | chef-03257148dd5228049084258f0c4d926f9c5d28ee.tar.gz |
MSYS-1142 Fixed nil class error and added check to not call upload for the blank cookbooks. Fixes #9010
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
Diffstat (limited to 'lib/chef/knife')
-rw-r--r-- | lib/chef/knife/cookbook_upload.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/knife/cookbook_upload.rb b/lib/chef/knife/cookbook_upload.rb index c8c9067800..7605366718 100644 --- a/lib/chef/knife/cookbook_upload.rb +++ b/lib/chef/knife/cookbook_upload.rb @@ -124,7 +124,6 @@ class Chef cookbooks_for_upload << cookbook version_constraints_to_update[cookbook_name] = cookbook.version end - if config[:all] if cookbooks_for_upload.any? begin |