File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
scenariorun/src/main/kotlin/com/cosmotech/scenariorun Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -1490,9 +1490,28 @@ private fun mergeSolutionContainer(
14901490
14911491 envVars?.put(CONTAINER_MODE_VAR , modes)
14921492
1493+ // Node label and sizing is the first none basic node label
1494+ val nodeLabel =
1495+ if (stackedContainer.nodeLabel == NODE_LABEL_DEFAULT &&
1496+ container.nodeLabel != NODE_LABEL_DEFAULT ) {
1497+ container.nodeLabel
1498+ } else {
1499+ stackedContainer.nodeLabel
1500+ }
1501+
1502+ val runSizing =
1503+ if (stackedContainer.nodeLabel == NODE_LABEL_DEFAULT &&
1504+ container.nodeLabel != NODE_LABEL_DEFAULT ) {
1505+ container.runSizing
1506+ } else {
1507+ stackedContainer.runSizing
1508+ }
1509+
14931510 return stackedContainer.copy(
14941511 name = MULTIPLE_STEPS_NAME + stackedIndex.toString(),
14951512 envVars = envVars,
1513+ nodeLabel = nodeLabel,
1514+ runSizing = runSizing,
14961515 )
14971516}
14981517
You can’t perform that action at this time.
0 commit comments