提交 1df01bb7 编写于 作者: R 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
......@@ -23,7 +23,7 @@ module Gitlab
end
def stop_working
server.shutdown
server.shutdown if server
@server = nil
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册