blob: 5c959a72bd1be0fb3bcd86fc70adc78a8ab48a61 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# 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
|