Skip to content

Commit

Permalink
[INLONG-11681][Agent] Fix bug of duplicate file collection (#11682)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwwhuang authored Jan 20, 2025
1 parent d66bd13 commit fd7190f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public int getRunningInstanceCount() {
* @return list of task
*/
public List<InstanceProfile> getInstances(String taskId) {
List<KeyValueEntity> result = this.store.findAll(getKeyByTaskId(taskId));
List<KeyValueEntity> result = this.store.findAll(getKeyByTaskId(taskId) + store.getSplitter());
List<InstanceProfile> instanceList = new ArrayList<>();
for (KeyValueEntity entity : result) {
instanceList.add(entity.getAsInstanceProfile());
Expand Down

0 comments on commit fd7190f

Please sign in to comment.