summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook_site_streaming_uploader.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-07-02 18:20:06 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-07-02 18:20:06 -0700
commit2da413fe65595e95b16e9e01afa240d5c668a03a (patch)
treeaaa60ecf50befabe0c6a5444c593275e411873d5 /lib/chef/cookbook_site_streaming_uploader.rb
parent5f45c98f1e2ae9ec7b95760a41d617a7a698cc19 (diff)
downloadchef-2da413fe65595e95b16e9e01afa240d5c668a03a.tar.gz
fix Style/MutableConstant
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/cookbook_site_streaming_uploader.rb')
-rw-r--r--lib/chef/cookbook_site_streaming_uploader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook_site_streaming_uploader.rb b/lib/chef/cookbook_site_streaming_uploader.rb
index 8611357e1a..fdd8f690ae 100644
--- a/lib/chef/cookbook_site_streaming_uploader.rb
+++ b/lib/chef/cookbook_site_streaming_uploader.rb
@@ -31,7 +31,7 @@ class Chef
# inspired by http://stanislavvitvitskiy.blogspot.com/2008/12/multipart-post-in-ruby.html
class CookbookSiteStreamingUploader
- DefaultHeaders = { "accept" => "application/json", "x-chef-version" => ::Chef::VERSION } # rubocop:disable Naming/ConstantName
+ DefaultHeaders = { "accept" => "application/json", "x-chef-version" => ::Chef::VERSION }.freeze # rubocop:disable Naming/ConstantName
class << self