Skip to content

Commit 80f78e8

Browse files
committed
Change branch used to create cluster
1 parent 4b16e3e commit 80f78e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/directives/components/newContainer/newContainerController.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ function NewContainerController(
332332
if (NCC.state.dockerComposeFile && (!$rootScope.featureFlags.composeNewService || NCC.state.types.stage)) {
333333
return createNewCluster(
334334
NCC.state.repo.attrs.full_name,
335-
NCC.state.repo.attrs.default_branch,
335+
NCC.state.branch.attrs.name,
336336
NCC.state.dockerComposeFile.path,
337337
NCC.state.instanceName,
338338
currentOrg.github.attrs.id
@@ -348,7 +348,7 @@ function NewContainerController(
348348
var instanceName = NCC.state.instanceName + '-test';
349349
return createNewCluster(
350350
NCC.state.repo.attrs.full_name,
351-
NCC.state.repo.attrs.default_branch,
351+
NCC.state.branch.attrs.name,
352352
NCC.state.dockerComposeTestFile.path,
353353
instanceName,
354354
currentOrg.github.attrs.id,
@@ -363,7 +363,7 @@ function NewContainerController(
363363

364364
return createNewCluster(
365365
NCC.state.repo.attrs.full_name,
366-
NCC.state.repo.attrs.default_branch,
366+
NCC.state.branch.attrs.name,
367367
NCC.state.dockerComposeTestFile.path,
368368
NCC.state.instanceName,
369369
currentOrg.github.attrs.id,

0 commit comments

Comments
 (0)