From c6d53250de7f439bc25740913d85ada6e3b2fed4 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Wed, 4 Oct 2017 00:20:47 +0200 Subject: Specify defaults, fix policies, fix db columns --- app/services/ci/integrate_cluster_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services/ci') diff --git a/app/services/ci/integrate_cluster_service.rb b/app/services/ci/integrate_cluster_service.rb index 959c425fe74..ae7dccb0f42 100644 --- a/app/services/ci/integrate_cluster_service.rb +++ b/app/services/ci/integrate_cluster_service.rb @@ -9,7 +9,7 @@ module Ci kubernetes_token: token, username: username, password: password, - service: project.find_or_initialize_service('kubernetes'), + service: cluster.project.find_or_initialize_service('kubernetes'), status_event: :created) cluster.service.update!( -- cgit v1.2.1