We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a6183 commit 8e0e951Copy full SHA for 8e0e951
lib/java_buildpack/framework/splunk_otel_java_agent.rb
@@ -51,7 +51,7 @@ def supports?
51
@application.services.one_service? REQUIRED_SERVICE_NAME_FILTER
52
end
53
54
- REQUIRED_SERVICE_NAME_FILTER = /^splunk-o11y$/.freeze
+ REQUIRED_SERVICE_NAME_FILTER = /splunk-o11y/.freeze
55
56
57
spec/java_buildpack/framework/splunk_otel_java_agent_spec.rb
@@ -33,7 +33,7 @@
33
context 'when detected' do
34
35
before do
36
- allow(services).to receive(:one_service?).with(/^splunk-o11y$/).and_return(true)
+ allow(services).to receive(:one_service?).with(/splunk-o11y/).and_return(true)
37
38
39
it 'detects with splunk-otel-java' do
0 commit comments