We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 543138b commit 550ef12Copy full SHA for 550ef12
core/src/main/java/com/flowci/core/flow/domain/FlowYml.java
@@ -43,8 +43,8 @@
43
@AllArgsConstructor
44
@CompoundIndexes(
45
@CompoundIndex(
46
- name = "index_yml_name",
47
- def = "{'list.name': 1}",
+ name = "index_flow_id_and_yml_name",
+ def = "{'flowId': 1, 'list.name': 1}",
48
sparse = true,
49
unique = true
50
)
core/src/main/java/com/flowci/core/job/domain/JobYml.java
@@ -61,7 +61,7 @@ public String[] getRawArray() {
61
var array = new String[list.size()];
62
int i = 0;
63
for (var body : list) {
64
- array[i] = StringHelper.fromBase64(body.getRawInB64());
+ array[i++] = StringHelper.fromBase64(body.getRawInB64());
65
}
66
return array;
67
0 commit comments