diff options
author | Thom May <thom@chef.io> | 2016-02-16 12:10:01 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-02-16 12:10:10 +0000 |
commit | d0df0a4360375a2eddd5342f8420a2cdd8a6079b (patch) | |
tree | 200b93b553c2a1d1227e139f66e7473288011658 | |
parent | 61906bae0a660759ed59339bb8ae49521c25c636 (diff) | |
download | chef-d0df0a4360375a2eddd5342f8420a2cdd8a6079b.tar.gz |
remove bogus recalculation of cookbook upload failurestm/cookbook_upload_name_args
fixes #4350
-rw-r--r-- | lib/chef/knife/cookbook_upload.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/knife/cookbook_upload.rb b/lib/chef/knife/cookbook_upload.rb index e16e21ae64..cd16358e3f 100644 --- a/lib/chef/knife/cookbook_upload.rb +++ b/lib/chef/knife/cookbook_upload.rb @@ -145,8 +145,6 @@ class Chef end end - upload_failures += @name_args.length - @cookbooks_to_upload.length - if upload_failures == 0 ui.info "Uploaded #{upload_ok} cookbook#{upload_ok > 1 ? "s" : ""}." elsif upload_failures > 0 && upload_ok > 0 |