debian-mirror-gitlab/config/initializers/gitlab_workhorse_secret.rb
2021-03-11 19:13:27 +05:30

10 lines
192 B
Ruby

# frozen_string_literal: true
begin
Gitlab::Workhorse.secret
rescue
Gitlab::Workhorse.write_secret
end
# Try a second time. If it does not work this will raise.
Gitlab::Workhorse.secret