Commit 1df01bb7 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'sh-guard-against-nil-sidekiq-metrics-server' into 'master'

Guard against nil Sidekiq metrics server

Closes #41351

See merge request gitlab-org/gitlab-ce!17254
parents 4bd30414 3b3615f0
...@@ -23,7 +23,7 @@ module Gitlab ...@@ -23,7 +23,7 @@ module Gitlab
end end
def stop_working def stop_working
server.shutdown server.shutdown if server
@server = nil @server = nil
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment