Skip to content

Commit f1211dc

Browse files
committed
(BOLT-519) Fix User-Agent dependency on VERSION
The default config sets User-Agent based on orchestrator-client's VERSION, but never requires the file that defines it. That results in users having to explicitly require `orchestrator_client/version` as well or they get an error that `OrchestratorClient::VERSION` is undefined when configuring it. Add a require before use.
1 parent d25094b commit f1211dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/orchestrator_client/config.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require 'json'
2+
require 'orchestrator_client/version'
23

34
class OrchestratorClient::Config
45

0 commit comments

Comments
 (0)