From 80f78e8c35d8f54b20b21feba10dd46a472db5d6 Mon Sep 17 00:00:00 2001 From: thejsj Date: Thu, 25 May 2017 11:05:43 -0700 Subject: [PATCH] Change branch used to create cluster --- .../components/newContainer/newContainerController.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/directives/components/newContainer/newContainerController.js b/client/directives/components/newContainer/newContainerController.js index 17a08df13..47975f38f 100644 --- a/client/directives/components/newContainer/newContainerController.js +++ b/client/directives/components/newContainer/newContainerController.js @@ -332,7 +332,7 @@ function NewContainerController( if (NCC.state.dockerComposeFile && (!$rootScope.featureFlags.composeNewService || NCC.state.types.stage)) { return createNewCluster( NCC.state.repo.attrs.full_name, - NCC.state.repo.attrs.default_branch, + NCC.state.branch.attrs.name, NCC.state.dockerComposeFile.path, NCC.state.instanceName, currentOrg.github.attrs.id @@ -348,7 +348,7 @@ function NewContainerController( var instanceName = NCC.state.instanceName + '-test'; return createNewCluster( NCC.state.repo.attrs.full_name, - NCC.state.repo.attrs.default_branch, + NCC.state.branch.attrs.name, NCC.state.dockerComposeTestFile.path, instanceName, currentOrg.github.attrs.id, @@ -363,7 +363,7 @@ function NewContainerController( return createNewCluster( NCC.state.repo.attrs.full_name, - NCC.state.repo.attrs.default_branch, + NCC.state.branch.attrs.name, NCC.state.dockerComposeTestFile.path, NCC.state.instanceName, currentOrg.github.attrs.id,