diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-12-04 22:18:58 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-12-04 22:18:58 +0900 |
commit | f17375b9d03ed420c83ed41d58e363a022606c68 (patch) | |
tree | 8b58e5f555c5be7ba248e73cf822a7b4c189c1f6 /app/services | |
parent | 6b1ad363dc3902fa5052aee8a2f98b128fd617e6 (diff) | |
download | gitlab-ce-f17375b9d03ed420c83ed41d58e363a022606c68.tar.gz |
Optimize Clusters::CreateService#execute
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/clusters/create_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/clusters/create_service.rb b/app/services/clusters/create_service.rb index 1d407739b21..7b697f6d807 100644 --- a/app/services/clusters/create_service.rb +++ b/app/services/clusters/create_service.rb @@ -2,7 +2,7 @@ module Clusters class CreateService < BaseService attr_reader :access_token - def execute(access_token) + def execute(access_token = nil) @access_token = access_token create_cluster.tap do |cluster| |