diff options
author | Justin DiPierro <dipierroj@gmail.com> | 2016-09-29 12:46:54 -0400 |
---|---|---|
committer | Justin DiPierro <dipierroj@gmail.com> | 2016-10-06 11:22:37 -0400 |
commit | fe46e4eb35dd6728a8a5ebcee9cc05a4613effbf (patch) | |
tree | 241a0fad11b7719f193f3deb6b8818c37159ec8c /lib/tasks/gitlab | |
parent | 9a13f885a9dc7b072d41160a6d3db965c9114b4b (diff) | |
download | gitlab-ce-fe46e4eb35dd6728a8a5ebcee9cc05a4613effbf.tar.gz |
Load Github::Shell's secret token from file on initialization instead of every request.
Diffstat (limited to 'lib/tasks/gitlab')
-rw-r--r-- | lib/tasks/gitlab/shell.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/shell.rake b/lib/tasks/gitlab/shell.rake index bb7eb852f1b..210899882b4 100644 --- a/lib/tasks/gitlab/shell.rake +++ b/lib/tasks/gitlab/shell.rake @@ -78,7 +78,7 @@ namespace :gitlab do f.puts "PATH=#{ENV['PATH']}" end - Gitlab::Shell.new.generate_and_link_secret_token + Gitlab::Shell.ensure_secret_token! end desc "GitLab | Setup gitlab-shell" |