Skip to content

Commit 9334045

Browse files
committed
wip
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 82f3b75 commit 9334045

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/io/csviri/operator/resourceglue/templating/GenericTemplateHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public String processTemplate(String template, Glue primary,
2222
Context<Glue> context) {
2323

2424
Template hello = engine.parse(template);
25-
26-
return hello.data(createDataWithResources(primary, context)).render();
25+
var data = createDataWithResources(primary, context);
26+
return hello.data(data).render();
2727
}
2828

2929
@SuppressWarnings("rawtypes")

src/test/java/io/csviri/operator/resourceglue/GlueTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void stringTemplate() {
121121

122122
@Test
123123
void simpleConcurrencyTest() {
124-
int num = 10;
124+
int num = 1;
125125
List<Glue> glueList = testWorkflowList(num);
126126

127127
glueList.forEach(this::create);

0 commit comments

Comments
 (0)