summaryrefslogtreecommitdiff
path: root/lib/chef/resource/http_request.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-02-15 13:01:38 -0800
committerTim Smith <tsmith84@gmail.com>2021-02-15 13:01:38 -0800
commitb3057cc7f55fadd57e54dba45242f692806bc2ba (patch)
tree2d4a8511bb6ecb8813e89a9d85c2986673d005a2 /lib/chef/resource/http_request.rb
parent7eb9179ed6eaf024f62546001544ea2caa3d184c (diff)
downloadchef-b3057cc7f55fadd57e54dba45242f692806bc2ba.tar.gz
Improve automatic docs generationdocs
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/http_request.rb')
-rw-r--r--lib/chef/resource/http_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/http_request.rb b/lib/chef/resource/http_request.rb
index f53d3e731f..8a1354e6cd 100644
--- a/lib/chef/resource/http_request.rb
+++ b/lib/chef/resource/http_request.rb
@@ -34,7 +34,7 @@ class Chef
property :url, String, identity: true,
description: "The URL to which an HTTP request is sent."
- property :headers, Hash, default: lazy { {} },
+ property :headers, Hash, default: {},
description: "A Hash of custom headers."
def initialize(name, run_context = nil)