summaryrefslogtreecommitdiff
path: root/app/services/clusters/update_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/clusters/update_service.rb')
-rw-r--r--app/services/clusters/update_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/clusters/update_service.rb b/app/services/clusters/update_service.rb
index ba20826848d..5432d9fbca1 100644
--- a/app/services/clusters/update_service.rb
+++ b/app/services/clusters/update_service.rb
@@ -5,7 +5,8 @@ module Clusters
attr_reader :current_user, :params
def initialize(user = nil, params = {})
- @current_user, @params = user, params.dup
+ @current_user = user
+ @params = params.dup
end
def execute(cluster)