Skip to content

Commit

Permalink
fix: detail data with empty fields are allowed (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
xzchaoo authored Jan 4, 2024
1 parent a222885 commit 185aa5f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ public Mono<Void> write(AuthInfo authInfo, WriteMetricsRequestV4 req) {
row.setTimestamp(pbrow.getTimestamp());
row.setTagValues(pbrow.getTagValuesList());
List<Double> fieldValues = new ArrayList<>(pbrow.getValueValuesCount());
if (pbrow.getValueValuesCount() == 0) {
continue;
}
// empty fields are allowed
// if (pbrow.getValueValuesCount() == 0) {
// continue;
// }
for (DataNode dn : pbrow.getValueValuesList()) {
fieldValues.add(dn.getValue());
}
Expand Down

0 comments on commit 185aa5f

Please sign in to comment.