Skip to content

Commit 839c29d

Browse files
authored
Merge pull request #9116 from smortex/fix-docs-http-client-usage
Fix `Puppet::HTTP::Client` example with system store
2 parents 42543dd + c1b0085 commit 839c29d

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)