Skip to content

Commit 2bc854d

Browse files
committed
README.md: Fix constructor example
People must only provide the base url. the lib will append the rest: https://github.com/puppetlabs/orchestrator_client-ruby/blob/ce9cd065a0e1af3b26727b6edcbeff4cb43ea758/lib/orchestrator_client/config.rb#L118
1 parent ce9cd06 commit 2bc854d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ require 'orchestrator_client'
4040
# Requires at least a server name and path to the CA certificate
4141

4242
client = OrchestratorClient.new({
43-
'service-url' => 'https://orchestrator.example.lan:8143/orchestrator/v1',
43+
'service-url' => 'https://orchestrator.example.lan:8143',
4444
'cacert' => '/path/to/cert'
4545
})
4646

0 commit comments

Comments
 (0)