Skip to content

Commit

Permalink
fix: collect target type
Browse files Browse the repository at this point in the history
  • Loading branch information
xzchaoo committed Aug 10, 2023
1 parent 0f6eca1 commit 4eb5f11
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,12 @@ private GetCollectTasksResponse getCollectTasks0(GetCollectTasksRequest request)
});
break;
default:
builder.putMeta("target", JsonUtils.toJson(dim));
builder.setType(dimType);
dim.forEach((k, v) -> {
if (!k.startsWith("_") && v != null) {
builder.putMeta(k, v.toString());
}
});
break;
}
}
Expand Down

0 comments on commit 4eb5f11

Please sign in to comment.