@@ -332,7 +332,7 @@ function NewContainerController(
332
332
if ( NCC . state . dockerComposeFile && ( ! $rootScope . featureFlags . composeNewService || NCC . state . types . stage ) ) {
333
333
return createNewCluster (
334
334
NCC . state . repo . attrs . full_name ,
335
- NCC . state . repo . attrs . default_branch ,
335
+ NCC . state . branch . attrs . name ,
336
336
NCC . state . dockerComposeFile . path ,
337
337
NCC . state . instanceName ,
338
338
currentOrg . github . attrs . id
@@ -348,7 +348,7 @@ function NewContainerController(
348
348
var instanceName = NCC . state . instanceName + '-test' ;
349
349
return createNewCluster (
350
350
NCC . state . repo . attrs . full_name ,
351
- NCC . state . repo . attrs . default_branch ,
351
+ NCC . state . branch . attrs . name ,
352
352
NCC . state . dockerComposeTestFile . path ,
353
353
instanceName ,
354
354
currentOrg . github . attrs . id ,
@@ -363,7 +363,7 @@ function NewContainerController(
363
363
364
364
return createNewCluster (
365
365
NCC . state . repo . attrs . full_name ,
366
- NCC . state . repo . attrs . default_branch ,
366
+ NCC . state . branch . attrs . name ,
367
367
NCC . state . dockerComposeTestFile . path ,
368
368
NCC . state . instanceName ,
369
369
currentOrg . github . attrs . id ,
0 commit comments