Skip to content

Commit 5e70601

Browse files
Fix Namespace ref
1 parent ba33233 commit 5e70601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/promenade/setup.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def setup
3636
# Instead, we define a method that dynamically loads the appropriate PID provider based on the active server.
3737
# As a fallback, we use the process ID.
3838

39-
if defined?(Unicorn)
39+
if defined?(::Unicorn)
4040
require "prometheus/client/support/unicorn"
4141
pid_provider_method = ::Prometheus::Client::Support::Unicorn.method(:worker_pid_provider)
4242
elsif defined?(::Pitchfork)

0 commit comments

Comments
 (0)