Skip to content

Commit c1b0085

Browse files
committed
(docs) Fix Puppet::HTTP::Client example with system store
The evolution of that part of the code has seen multiple iterations, and the doc does not reflect the current usage so fix it. While here, also fix the wrong variable name typo.
1 parent da7350d commit c1b0085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ possible to additionally trust the system store when making HTTPS requests:
260260

261261
```ruby
262262
client = Puppet::HTTP::Client.new
263-
response = http.get("https://artifactory.example.com/java.tar.gz", trust_system_store: true)
263+
response = client.get("https://artifactory.example.com/java.tar.gz", options: { include_system_store: true })
264264
response.read_body do |data|
265265
puts "Read #{data.bytes}"
266266
end

0 commit comments

Comments
 (0)