summaryrefslogtreecommitdiff
path: root/app/services/ci
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-10-04 00:20:47 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-10-04 00:20:47 +0200
commitc6d53250de7f439bc25740913d85ada6e3b2fed4 (patch)
treeb93a8c9556851fda197f5a9bd7bfd6b540e2d44d /app/services/ci
parentc471430a13c79a82555ee171fecdf45b882a3c19 (diff)
downloadgitlab-ce-c6d53250de7f439bc25740913d85ada6e3b2fed4.tar.gz
Specify defaults, fix policies, fix db columns
Diffstat (limited to 'app/services/ci')
-rw-r--r--app/services/ci/integrate_cluster_service.rb2
1 files changed, 1 insertions, 1 deletions
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!(